OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Creates an audio output stream based on the PulseAudio asynchronous API. | 5 // Creates an audio output stream based on the PulseAudio asynchronous API. |
6 // | 6 // |
7 // If the stream is successfully opened, Close() must be called before the | 7 // If the stream is successfully opened, Close() must be called before the |
8 // stream is deleted as Close() is responsible for ensuring resource cleanup | 8 // stream is deleted as Close() is responsible for ensuring resource cleanup |
9 // occurs. | 9 // occurs. |
10 // | 10 // |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // bound by its lifetime. | 122 // bound by its lifetime. |
123 base::WeakPtrFactory<PulseAudioOutputStream> weak_factory_; | 123 base::WeakPtrFactory<PulseAudioOutputStream> weak_factory_; |
124 | 124 |
125 // Callback to audio data source. | 125 // Callback to audio data source. |
126 AudioSourceCallback* source_callback_; | 126 AudioSourceCallback* source_callback_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(PulseAudioOutputStream); | 128 DISALLOW_COPY_AND_ASSIGN(PulseAudioOutputStream); |
129 }; | 129 }; |
130 | 130 |
131 #endif // MEDIA_AUDIO_LINUX_PULSE_OUTPUT_H_ | 131 #endif // MEDIA_AUDIO_LINUX_PULSE_OUTPUT_H_ |
OLD | NEW |