OLD | NEW |
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 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 virtual ~AudioManagerBase(); | 40 virtual ~AudioManagerBase(); |
41 | 41 |
42 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; | 42 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; |
43 virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE; | 43 virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE; |
44 | 44 |
45 virtual string16 GetAudioInputDeviceModel() OVERRIDE; | 45 virtual string16 GetAudioInputDeviceModel() OVERRIDE; |
46 | 46 |
47 virtual void ShowAudioInputSettings() OVERRIDE; | 47 virtual void ShowAudioInputSettings() OVERRIDE; |
48 | 48 |
49 virtual void GetAudioInputDeviceNames( | 49 virtual void GetAudioInputDeviceNames( |
50 media::AudioDeviceNames* device_names) OVERRIDE; | 50 AudioDeviceNames* device_names) OVERRIDE; |
| 51 |
| 52 virtual void GetAudioOutputDeviceNames( |
| 53 AudioDeviceNames* device_names) OVERRIDE; |
51 | 54 |
52 virtual AudioOutputStream* MakeAudioOutputStream( | 55 virtual AudioOutputStream* MakeAudioOutputStream( |
53 const AudioParameters& params, | 56 const AudioParameters& params, |
54 const std::string& input_device_id) OVERRIDE; | 57 const std::string& input_device_id) OVERRIDE; |
55 | 58 |
56 virtual AudioInputStream* MakeAudioInputStream( | 59 virtual AudioInputStream* MakeAudioInputStream( |
57 const AudioParameters& params, const std::string& device_id) OVERRIDE; | 60 const AudioParameters& params, const std::string& device_id) OVERRIDE; |
58 | 61 |
59 virtual AudioOutputStream* MakeAudioOutputStreamProxy( | 62 virtual AudioOutputStream* MakeAudioOutputStreamProxy( |
60 const AudioParameters& params, | 63 const AudioParameters& params, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Map of cached AudioOutputDispatcher instances. Must only be touched | 162 // Map of cached AudioOutputDispatcher instances. Must only be touched |
160 // from the audio thread (no locking). | 163 // from the audio thread (no locking). |
161 AudioOutputDispatchers output_dispatchers_; | 164 AudioOutputDispatchers output_dispatchers_; |
162 | 165 |
163 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); | 166 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); |
164 }; | 167 }; |
165 | 168 |
166 } // namespace media | 169 } // namespace media |
167 | 170 |
168 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 171 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
OLD | NEW |