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

Side by Side Diff: media/audio/pulse/pulse_output.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/audio/mac/audio_output_mac_unittest.cc ('k') | media/audio/simple_sources.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/audio/pulse/pulse_output.h" 5 #include "media/audio/pulse/pulse_output.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "media/audio/audio_parameters.h" 9 #include "media/audio/audio_parameters.h"
10 #include "media/audio/audio_util.h" 10 #include "media/audio/audio_util.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 417
418 void PulseAudioOutputStream::GetVolume(double* volume) { 418 void PulseAudioOutputStream::GetVolume(double* volume) {
419 DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current()); 419 DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
420 420
421 *volume = volume_; 421 *volume = volume_;
422 } 422 }
423 423
424 uint32 PulseAudioOutputStream::RunDataCallback( 424 uint32 PulseAudioOutputStream::RunDataCallback(
425 uint8* dest, uint32 max_size, AudioBuffersState buffers_state) { 425 uint8* dest, uint32 max_size, AudioBuffersState buffers_state) {
426 if (source_callback_) 426 if (source_callback_)
427 return source_callback_->OnMoreData(this, dest, max_size, buffers_state); 427 return source_callback_->OnMoreData(dest, max_size, buffers_state);
428 428
429 return 0; 429 return 0;
430 } 430 }
431 431
432 } // namespace media 432 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/mac/audio_output_mac_unittest.cc ('k') | media/audio/simple_sources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698