Added boilerplate code for being able to test the upcoming
AEC functionality.
BUG=webrtc:5201
Review URL: https://codereview.webrtc.org/1700703005
Cr-Commit-Position: refs/heads/master@{#11647}
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h
index 138259c..2311c65 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -69,6 +69,17 @@
bool enabled;
};
+// Enables the next generation AEC functionality. This feature replaces the
+// standard methods for echo removal in the AEC. This configuration only applies
+// to EchoCancellation and not EchoControlMobile. It can be set in the
+// constructor or using AudioProcessing::SetExtraOptions().
+struct NextGenerationAec {
+ NextGenerationAec() : enabled(false) {}
+ explicit NextGenerationAec(bool enabled) : enabled(enabled) {}
+ static const ConfigOptionID identifier = ConfigOptionID::kNextGenerationAec;
+ 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