From 032034823720d2c2a837f89266534cca7a4132e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85hgren?= Date: Sat, 18 Aug 2018 01:25:17 +0200 Subject: [PATCH] Correct audioproc_f to support the new echo canceller activation The introduction of the new AEC proxies caused audioproc_f to fail. This CL corrects audioproc_f so that the AEC2 and AECM echo cancellers are properly activated using the new AEC proxies. Bug: webrtc:9535 Change-Id: I1be59a9277aad8f51765c26e34ab16b63bcaeb42 Reviewed-on: https://webrtc-review.googlesource.com/94774 Commit-Queue: Gustaf Ullberg Reviewed-by: Gustaf Ullberg Cr-Commit-Position: refs/heads/master@{#24340} --- modules/audio_processing/test/aec_dump_based_simulator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_processing/test/aec_dump_based_simulator.cc b/modules/audio_processing/test/aec_dump_based_simulator.cc index 495318a73c..f1c6ad3025 100644 --- a/modules/audio_processing/test/aec_dump_based_simulator.cc +++ b/modules/audio_processing/test/aec_dump_based_simulator.cc @@ -277,7 +277,7 @@ void AecDumpBasedSimulator::HandleMessage( std::cout << "Setting used in config:" << std::endl; } Config config; - AudioProcessing::Config apm_config; + AudioProcessing::Config apm_config = ap_->GetConfig(); if (msg.has_aec_enabled() || settings_.use_aec) { bool enable = settings_.use_aec ? *settings_.use_aec : msg.aec_enabled();