From a955849901cbcf90ea7da6696d4a9ea50525ade5 Mon Sep 17 00:00:00 2001 From: Sam Zackrisson Date: Wed, 15 Aug 2018 13:44:12 +0200 Subject: [PATCH] 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 Commit-Queue: Sam Zackrisson Cr-Commit-Position: refs/heads/master@{#24292} --- modules/audio_processing/include/audio_processing.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/audio_processing/include/audio_processing.h b/modules/audio_processing/include/audio_processing.h index 41b45aa9f5..9c750f0692 100644 --- a/modules/audio_processing/include/audio_processing.h +++ b/modules/audio_processing/include/audio_processing.h @@ -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 {