OLD | NEW |
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 Loading... |
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 } | |
OLD | NEW |