From 2dc4cdeea7276241115bc3896d7079944c966837 Mon Sep 17 00:00:00 2001 From: peah Date: Fri, 16 Sep 2016 00:01:35 -0700 Subject: [PATCH] Correcting the enabling of the level controller in the audio processing simulator BUG= Review-Url: https://codereview.webrtc.org/2337133005 Cr-Commit-Position: refs/heads/master@{#14247} --- .../modules/audio_processing/test/aec_dump_based_simulator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc index d2b05ad88f..c2983fc625 100644 --- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc +++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc @@ -443,7 +443,7 @@ void AecDumpBasedSimulator::HandleMessage( } if (settings_.use_lc) { - apm_config.level_controller.enabled = true; + apm_config.level_controller.enabled = *settings_.use_lc; } ap_->ApplyConfig(apm_config);