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

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

Issue 2075093003: Fix ProcessReverseStream usage in audioproc_f (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/test/audio_processing_simulator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bb666cdce8548b4e049632f98d601d66e33d0cd8..adcfd8ec094aae7f5ee97708f74a50cf4d40e2b2 100644
--- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
+++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
@@ -386,6 +386,16 @@ void AecDumpBasedSimulator::HandleMessage(
}
}
+ if (msg.has_intelligibility_enhancer_enabled() || settings_.use_ie) {
+ bool enable = settings_.use_ie ? *settings_.use_ie
+ : msg.intelligibility_enhancer_enabled();
+ config.Set<Intelligibility>(new Intelligibility(enable));
+ if (settings_.use_verbose_logging) {
+ std::cout << " intelligibility_enhancer_enabled: "
+ << (enable ? "true" : "false") << std::endl;
+ }
+ }
+
if (msg.has_hpf_enabled() || settings_.use_hpf) {
bool enable = settings_.use_hpf ? *settings_.use_hpf : msg.hpf_enabled();
RTC_CHECK_EQ(AudioProcessing::kNoError,
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/test/audio_processing_simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698