Index: webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc |
diff --git a/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc b/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc |
index 6b0fc0178d2a5fdf15e7e9153297cb861df0350e..93eaa04b9f89b9db476b3b5fd70e4567ec33ef49 100644 |
--- a/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc |
+++ b/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc |
@@ -49,8 +49,11 @@ void ProcessOneFrame(int sample_rate_hz, |
capture_audio_buffer->SplitIntoFrequencyBands(); |
} |
- echo_canceller->ProcessRenderAudio(render_audio_buffer); |
- echo_canceller->ReadQueuedRenderData(); |
+ std::vector<float> render_audio; |
+ EchoCancellationImpl::PackRenderAudioBuffer( |
+ render_audio_buffer, 1, render_audio_buffer->num_channels(), |
+ &render_audio); |
+ echo_canceller->ProcessRenderAudio(render_audio); |
if (drift_compensation_enabled) { |
static_cast<EchoCancellation*>(echo_canceller) |