Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Unified Diff: webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc

Issue 2486763002: Add support to audioproc_f for running the residual echo detector and producing an echo likelihood … (Closed)
Patch Set: Review comments by Per. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698