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

Unified Diff: media/audio/mac/audio_auhal_mac.cc

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove AudioBufferState since ledger code is no longer built in Chrome. Created 6 years, 3 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: media/audio/mac/audio_auhal_mac.cc
diff --git a/media/audio/mac/audio_auhal_mac.cc b/media/audio/mac/audio_auhal_mac.cc
index 41fc57c553f8d0ba8a4b0a48000cedb10c01b49a..92a1b18691a2e4da0e0f337182a70f3b78842f5f 100644
--- a/media/audio/mac/audio_auhal_mac.cc
+++ b/media/audio/mac/audio_auhal_mac.cc
@@ -228,9 +228,8 @@ void AUHALStream::ProvideInput(int frame_delay, AudioBus* dest) {
// Supply the input data and render the output data.
source_->OnMoreData(
dest,
- AudioBuffersState(0,
- current_hardware_pending_bytes_ +
- frame_delay * params_.GetBytesPerFrame()));
+ current_hardware_pending_bytes_ +
+ frame_delay * params_.GetBytesPerFrame());
dest->Scale(volume_);
}

Powered by Google App Engine
This is Rietveld 408576698