| Index: webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc
|
| diff --git a/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc b/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc
|
| index b8033aa14446685b31996734562378d555054aa3..a90774fbc12bad663eabff17c178d450c768ca4f 100644
|
| --- a/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc
|
| +++ b/webrtc/modules/audio_processing/level_controller/level_controller_complexity_unittest.cc
|
| @@ -198,18 +198,16 @@
|
| SubmodulePerformanceTimer capture_timer;
|
| SubmodulePerformanceTimer total_timer;
|
|
|
| - webrtc::Config config;
|
| - AudioProcessing::Config apm_config;
|
| + Config config;
|
| if (include_default_apm_processing) {
|
| config.Set<DelayAgnostic>(new DelayAgnostic(true));
|
| config.Set<ExtendedFilter>(new ExtendedFilter(true));
|
| }
|
| - apm_config.level_controller.enabled = true;
|
| + config.Set<LevelControl>(new LevelControl(true));
|
|
|
| std::unique_ptr<AudioProcessing> apm;
|
| apm.reset(AudioProcessing::Create(config));
|
| ASSERT_TRUE(apm.get());
|
| - apm->ApplyConfig(apm_config);
|
|
|
| ASSERT_EQ(AudioProcessing::kNoError,
|
| apm->gain_control()->Enable(include_default_apm_processing));
|
|
|