Index: webrtc/modules/audio_processing/include/audio_processing.h |
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h |
index ad95fadb1a1e072e9057e9172b75f62fb85f0281..0c93a984b241817636f980a3d2e1375dd4b40e90 100644 |
--- a/webrtc/modules/audio_processing/include/audio_processing.h |
+++ b/webrtc/modules/audio_processing/include/audio_processing.h |
@@ -80,6 +80,18 @@ struct EchoCanceller3 { |
bool enabled; |
}; |
+// Enables the refined linear filter adaptation in the echo canceller. |
+// This configuration only applies to EchoCancellation and not |
+// EchoControlMobile. It can be set in the constructor |
+// or using AudioProcessing::SetExtraOptions(). |
+struct RefinedAdaptiveFilter { |
+ RefinedAdaptiveFilter() : enabled(false) {} |
+ explicit RefinedAdaptiveFilter(bool enabled) : enabled(enabled) {} |
+ static const ConfigOptionID identifier = |
+ ConfigOptionID::kAecRefinedAdaptiveFilter; |
+ bool enabled; |
+}; |
+ |
// Enables delay-agnostic echo cancellation. This feature relies on internally |
// estimated delays between the process and reverse streams, thus not relying |
// on reported system delays. This configuration only applies to |