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

Unified Diff: trunk/src/media/audio/android/opensles_output.cc

Issue 487543002: Revert 290359 "Remove AudioBuffersState class." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/media/audio/android/opensles_output.cc
===================================================================
--- trunk/src/media/audio/android/opensles_output.cc (revision 290374)
+++ trunk/src/media/audio/android/opensles_output.cc (working copy)
@@ -326,7 +326,7 @@
// delay estimation.
const uint32 hardware_delay = buffer_size_bytes_;
int frames_filled = callback_->OnMoreData(
- audio_bus_.get(), hardware_delay);
+ audio_bus_.get(), AudioBuffersState(0, hardware_delay));
if (frames_filled <= 0) {
// Audio source is shutting down, or halted on error.
return;
« no previous file with comments | « trunk/src/media/audio/android/audio_android_unittest.cc ('k') | trunk/src/media/audio/audio_buffers_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698