Add APM config flag for legacy moderate suppression level in AEC2

This will be hooked up in clients who need to keep using the moderate
suppression level in AEC2 until other tuning options are available.

Bug: webrtc:9535
Change-Id: I6c40898954d9c856f58bcea87271f4b98fa124de
Reviewed-on: https://webrtc-review.googlesource.com/94148
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24292}
This commit is contained in:
Sam Zackrisson
2018-08-15 13:44:12 +02:00
committed by Commit Bot
parent 9701e0ce2f
commit a955849901

View File

@ -253,6 +253,9 @@ class AudioProcessing : public rtc::RefCountInterface {
struct EchoCanceller {
bool enabled = false;
bool mobile_mode = false;
// 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;
} echo_canceller;
struct ResidualEchoDetector {