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

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

Issue 2444283002: Moved the AGC render sample queue into the audio processing module (Closed)
Patch Set: Rebase 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 | « webrtc/modules/audio_processing/gain_control_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/gain_control_unittest.cc
diff --git a/webrtc/modules/audio_processing/gain_control_unittest.cc b/webrtc/modules/audio_processing/gain_control_unittest.cc
index 989771ac69b813334ceefdf63da91f865c73dad0..1c89d76f52aa978879883060cea39dbc8c236efb 100644
--- a/webrtc/modules/audio_processing/gain_control_unittest.cc
+++ b/webrtc/modules/audio_processing/gain_control_unittest.cc
@@ -30,8 +30,9 @@ void ProcessOneFrame(int sample_rate_hz,
capture_audio_buffer->SplitIntoFrequencyBands();
}
- gain_controller->ProcessRenderAudio(render_audio_buffer);
- gain_controller->ReadQueuedRenderData();
+ std::vector<int16_t> render_audio;
+ GainControlImpl::PackRenderAudioBuffer(render_audio_buffer, &render_audio);
+ gain_controller->ProcessRenderAudio(render_audio);
gain_controller->AnalyzeCaptureAudio(capture_audio_buffer);
gain_controller->ProcessCaptureAudio(capture_audio_buffer, false);
« no previous file with comments | « webrtc/modules/audio_processing/gain_control_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698