Remove the usage of the field-trial WebRTC-Aec3TransparentModeKillSwitch Bug: webrtc:42233815 Change-Id: I689103daa66658dc9000c67d145b991127409432 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/465802 Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Commit-Queue: Per Ã…hgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47524}
diff --git a/modules/audio_processing/aec3/transparent_mode.cc b/modules/audio_processing/aec3/transparent_mode.cc index 196cb7e..84316ac 100644 --- a/modules/audio_processing/aec3/transparent_mode.cc +++ b/modules/audio_processing/aec3/transparent_mode.cc
@@ -27,10 +27,6 @@ constexpr size_t kBlocksSinceConsistentEstimateInit = 10000; constexpr float kInitialTransparentStateProbability = 0.2f; -bool DeactivateTransparentMode(const FieldTrialsView& field_trials) { - return field_trials.IsEnabled("WebRTC-Aec3TransparentModeKillSwitch"); -} - bool ActivateTransparentModeHmm(const FieldTrialsView& field_trials) { return field_trials.IsEnabled("WebRTC-Aec3TransparentModeHmm"); } @@ -236,8 +232,7 @@ std::unique_ptr<TransparentMode> TransparentMode::Create( const Environment& env, const EchoCanceller3Config& config) { - if (config.ep_strength.bounded_erl || - DeactivateTransparentMode(env.field_trials())) { + if (config.ep_strength.bounded_erl) { RTC_LOG(LS_INFO) << "AEC3 Transparent Mode: Disabled"; return nullptr; }