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

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

Issue 2427553003: Moved the AEC render sample queue into the audio processing module (Closed)
Patch Set: 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
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 3fb43d8b5bbbf2eb07fd16c59a2a0e116c0ad90f..bc5e9fa902f0f0bd1ae6ba8748cf6abc8346d66a 100644
--- a/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc
+++ b/webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc
@@ -49,7 +49,11 @@ void ProcessOneFrame(int sample_rate_hz,
capture_audio_buffer->SplitIntoFrequencyBands();
}
- echo_canceller->ProcessRenderAudio(render_audio_buffer);
+ 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)

Powered by Google App Engine
This is Rietveld 408576698