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

Unified Diff: media/audio/audio_output_mixer.cc

Issue 10184011: Remove unused parameter "stream" from all variants of OnMoreData(). (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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/audio_output_mixer.h ('k') | media/audio/audio_output_proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_mixer.cc
===================================================================
--- media/audio/audio_output_mixer.cc (revision 133451)
+++ media/audio/audio_output_mixer.cc (working copy)
@@ -145,8 +145,7 @@
}
// AudioSourceCallback implementation.
-uint32 AudioOutputMixer::OnMoreData(AudioOutputStream* stream,
- uint8* dest,
+uint32 AudioOutputMixer::OnMoreData(uint8* dest,
uint32 max_size,
AudioBuffersState buffers_state) {
max_size = std::min(max_size,
@@ -169,7 +168,6 @@
bool first_stream = true;
uint8* actual_dest = dest;
for (ProxyMap::iterator it = proxies_.begin(); it != proxies_.end(); ++it) {
- AudioOutputProxy* stream_proxy = it->first;
ProxyData* proxy_data = &it->second;
// TODO(enal): We don't know |pending _bytes| for individual stream, and we
// should give that value to individual stream's OnMoreData(). I believe it
@@ -184,7 +182,6 @@
// Note: there is no way we can deduce hardware_delay_bytes for the
// particular proxy stream. Use zero instead.
uint32 actual_size = proxy_data->audio_source_callback->OnMoreData(
- stream_proxy,
actual_dest,
max_size,
AudioBuffersState(pending_bytes, 0));
« no previous file with comments | « media/audio/audio_output_mixer.h ('k') | media/audio/audio_output_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698