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

Unified Diff: trunk/src/media/audio/mac/audio_auhal_mac.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/mac/audio_auhal_mac.cc
===================================================================
--- trunk/src/media/audio/mac/audio_auhal_mac.cc (revision 290374)
+++ trunk/src/media/audio/mac/audio_auhal_mac.cc (working copy)
@@ -228,8 +228,9 @@
// Supply the input data and render the output data.
source_->OnMoreData(
dest,
- current_hardware_pending_bytes_ +
- frame_delay * params_.GetBytesPerFrame());
+ AudioBuffersState(0,
+ current_hardware_pending_bytes_ +
+ frame_delay * params_.GetBytesPerFrame()));
dest->Scale(volume_);
}
« no previous file with comments | « trunk/src/media/audio/fake_audio_output_stream.cc ('k') | trunk/src/media/audio/mock_audio_source_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698