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 266e649181a6cd5d3ae8770ec9e1448ff624d98c..a5f248502f5055ffdf6d0dbd8385c68a57f81c7f 100644 |
--- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
+++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
@@ -450,6 +450,10 @@ void AecDumpBasedSimulator::HandleMessage( |
apm_config.level_controller.enabled = *settings_.use_lc; |
} |
+ if (settings_.use_red) { |
+ apm_config.residual_echo_detector.enabled = *settings_.use_red; |
+ } |
+ |
ap_->ApplyConfig(apm_config); |
ap_->SetExtraOptions(config); |
} |