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

Unified Diff: webrtc/modules/audio_processing/echo_control_mobile_unittest.cc

Issue 2437033002: Added the missing ReadQueuedRenderData() call to the AECM bitexactness test (Closed)
Patch Set: Updated test vectors Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/echo_control_mobile_unittest.cc
diff --git a/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc b/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc
index 3c747d07deba63720cc286a28ba10bb60d3ee788..b743c100c67e21ab4e41976078e4e91dcba7bbdd 100644
--- a/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc
+++ b/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc
@@ -46,6 +46,7 @@ void ProcessOneFrame(int sample_rate_hz,
}
echo_control_mobile->ProcessRenderAudio(render_audio_buffer);
+ echo_control_mobile->ReadQueuedRenderData();
echo_control_mobile->ProcessCaptureAudio(capture_audio_buffer,
stream_delay_ms);
@@ -174,7 +175,7 @@ TEST(EchoControlMobileBitExactnessTest,
TEST(EchoControlMobileBitExactnessTest,
Mono16kHz_LoudSpeakerPhone_CngOn_StreamDelay10) {
- const float kOutputReference[] = {-0.002411f, -0.002716f, -0.002747f};
+ const float kOutputReference[] = {-0.002380f, -0.002533f, -0.002563f};
RunBitexactnessTest(16000, 1, 10,
EchoControlMobile::RoutingMode::kLoudSpeakerphone, true,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698