Index: webrtc/modules/audio_processing/echo_cancellation_impl.cc |
diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl.cc b/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
index fd3e1bf01c15528ebecf9d39b5631bbd44d89c6e..dff47cca595891d78faae47a03b212f30e54d6f2 100644 |
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
@@ -328,10 +328,7 @@ int EchoCancellationImpl::Initialize() { |
} |
void EchoCancellationImpl::SetExtraOptions(const Config& config) { |
- // Both ExtendedFilter and DelayCorrection are diabled by default. If any one |
- // of them is true, then the extended filter mode is enabled. |
- extended_filter_enabled_ = config.Get<ExtendedFilter>().enabled || |
- config.Get<DelayCorrection>().enabled; |
+ extended_filter_enabled_ = config.Get<ExtendedFilter>().enabled; |
reported_delay_enabled_ = config.Get<ReportedDelay>().enabled; |
Configure(); |
} |