Add flag for explicitly specifying that the legacy AEC2 should be used
This CL adds a temporary flag for specifying that the legacy AEC2 should
be used.
Bug: webrtc:10366
Change-Id: Ie3edaa1560cdc1282b62242beb67aa6fee7f2841
Reviewed-on: https://webrtc-review.googlesource.com/c/124980
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26891}
diff --git a/modules/audio_processing/include/audio_processing.h b/modules/audio_processing/include/audio_processing.h
index aba0a13..6a0917a 100644
--- a/modules/audio_processing/include/audio_processing.h
+++ b/modules/audio_processing/include/audio_processing.h
@@ -257,6 +257,8 @@
// Recommended not to use. Will be removed in the future.
// APM components are not fine-tuned for legacy suppression levels.
bool legacy_moderate_suppression_level = false;
+ // Recommended not to use. Will be removed in the future.
+ bool use_legacy_aec = false;
} echo_canceller;
// Enables background noise suppression.