Index: webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
diff --git a/webrtc/modules/audio_processing/test/audio_processing_simulator.cc b/webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
index ddfc562aafba474f8e8c05d8385a7d0445b391fa..27b3803a198ffadc89f55ca6abe8b8ea02972dd7 100644 |
--- a/webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
+++ b/webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
@@ -268,7 +268,7 @@ void AudioProcessingSimulator::CreateAudioProcessor() { |
config.Set<Intelligibility>(new Intelligibility(*settings_.use_ie)); |
} |
if (settings_.use_aec3) { |
- config.Set<EchoCanceller3>(new EchoCanceller3(*settings_.use_aec3)); |
+ apm_config.echo_canceller3.enabled = *settings_.use_aec3; |
} |
if (settings_.use_lc) { |
apm_config.level_controller.enabled = *settings_.use_lc; |