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

Side by Side Diff: media/audio/linux/alsa_output.cc

Issue 155471: Refactoring to share MockAudioOutputStream implementations across 3 platforms... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/linux/alsa_output.h ('k') | media/audio/linux/audio_manager_linux.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // The audio stream implementation is made difficult because different methods 5 // The audio stream implementation is made difficult because different methods
6 // are available for calling depending on what state the stream is. Here is the 6 // are available for calling depending on what state the stream is. Here is the
7 // state transition table for the stream. 7 // state transition table for the stream.
8 // 8 //
9 // STATE_CREATED -> Open() -> STATE_OPENED 9 // STATE_CREATED -> Open() -> STATE_OPENED
10 // STATE_OPENED -> Start() -> STATE_STARTED 10 // STATE_OPENED -> Start() -> STATE_STARTED
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 } 520 }
521 } 521 }
522 522
523 void AlsaPCMOutputStream::SetVolume(double left_level, double right_level) { 523 void AlsaPCMOutputStream::SetVolume(double left_level, double right_level) {
524 NOTIMPLEMENTED(); 524 NOTIMPLEMENTED();
525 } 525 }
526 526
527 void AlsaPCMOutputStream::GetVolume(double* left_level, double* right_level) { 527 void AlsaPCMOutputStream::GetVolume(double* left_level, double* right_level) {
528 NOTIMPLEMENTED(); 528 NOTIMPLEMENTED();
529 } 529 }
530
531 size_t AlsaPCMOutputStream::GetNumBuffers() {
532 return 0;
533 }
OLDNEW
« no previous file with comments | « media/audio/linux/alsa_output.h ('k') | media/audio/linux/audio_manager_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698