From 8b5d2cc93e399bd6c4a66268a33fecb8b1101556 Mon Sep 17 00:00:00 2001 From: Sam Zackrisson Date: Fri, 27 Jul 2018 13:27:23 +0200 Subject: [PATCH] Add unused AEC toggling config to API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will be the one way of toggling AEC. The EchoControlMobile and EchoCancellation interfaces will be removed. The settings introduced here are not used yet, to allow for smooth downstream fixes. Bug: webrtc:9535 Change-Id: I3b1a524a0ab7daf63419d7e5ed47417b9282dbf6 Reviewed-on: https://webrtc-review.googlesource.com/90864 Reviewed-by: Per Ã…hgren Commit-Queue: Sam Zackrisson Cr-Commit-Position: refs/heads/master@{#24129} --- modules/audio_processing/include/audio_processing.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/audio_processing/include/audio_processing.h b/modules/audio_processing/include/audio_processing.h index bf9cab7147..7452c3a4ba 100644 --- a/modules/audio_processing/include/audio_processing.h +++ b/modules/audio_processing/include/audio_processing.h @@ -252,6 +252,12 @@ class AudioProcessing : public rtc::RefCountInterface { // by changing the default values in the AudioProcessing::Config struct. // The config is applied by passing the struct to the ApplyConfig method. struct Config { + // TODO(bugs.webrtc.org/9535): Currently unused. Use this to determine AEC. + struct EchoCanceller { + bool enabled = false; + bool mobile_mode = false; + } echo_canceller; + struct ResidualEchoDetector { bool enabled = true; } residual_echo_detector;