| 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..e21f42a1c53ff6295549f5ff3271f4e75a4f091f 100644
|
| --- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
|
| +++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
|
| @@ -236,7 +236,6 @@
|
| std::cout << "Setting used in config:" << std::endl;
|
| }
|
| Config config;
|
| - AudioProcessing::Config apm_config;
|
|
|
| if (msg.has_aec_enabled() || settings_.use_aec) {
|
| bool enable = settings_.use_aec ? *settings_.use_aec : msg.aec_enabled();
|
| @@ -443,10 +442,9 @@
|
| }
|
|
|
| if (settings_.use_lc) {
|
| - apm_config.level_controller.enabled = true;
|
| - }
|
| -
|
| - ap_->ApplyConfig(apm_config);
|
| + config.Set<LevelControl>(new LevelControl(true));
|
| + }
|
| +
|
| ap_->SetExtraOptions(config);
|
| }
|
| }
|
|
|