From 897497361e18c604ad46b949c7b478db9709734f Mon Sep 17 00:00:00 2001 From: peah Date: Sat, 22 Oct 2016 04:00:29 -0700 Subject: [PATCH] Added the missing ReadQueuedRenderData() call to the AECM bitexactness test BUG=webrtc:6573 Review-Url: https://codereview.webrtc.org/2437033002 Cr-Commit-Position: refs/heads/master@{#14725} --- .../modules/audio_processing/echo_control_mobile_unittest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc b/webrtc/modules/audio_processing/echo_control_mobile_unittest.cc index 3c747d07de..b743c100c6 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,