Index: webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
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 d2b05ad88ffca8b83d7e66b829ad175ba54be52e..c2983fc62516fb6a6dfd3679a2ddae0616522160 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); |