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

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: Fix audio muter build buster. 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
« no previous file with comments | « media/audio/fake_audio_output_stream.cc ('k') | media/audio/mock_audio_source_callback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
« no previous file with comments | « media/audio/fake_audio_output_stream.cc ('k') | media/audio/mock_audio_source_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698