| 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 23 matching lines...) Expand all Loading... |
| 34 class MEDIA_EXPORT AudioManagerBase : public AudioManager { | 34 class MEDIA_EXPORT AudioManagerBase : public AudioManager { |
| 35 public: | 35 public: |
| 36 // Name of the generic "default" device. | 36 // Name of the generic "default" device. |
| 37 static const char kDefaultDeviceName[]; | 37 static const char kDefaultDeviceName[]; |
| 38 // Unique Id of the generic "default" device. | 38 // Unique Id of the generic "default" device. |
| 39 static const char kDefaultDeviceId[]; | 39 static const char kDefaultDeviceId[]; |
| 40 | 40 |
| 41 virtual ~AudioManagerBase(); | 41 virtual ~AudioManagerBase(); |
| 42 | 42 |
| 43 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; | 43 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; |
| 44 virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE; |
| 44 | 45 |
| 45 virtual string16 GetAudioInputDeviceModel() OVERRIDE; | 46 virtual string16 GetAudioInputDeviceModel() OVERRIDE; |
| 46 | 47 |
| 47 virtual void ShowAudioInputSettings() OVERRIDE; | 48 virtual void ShowAudioInputSettings() OVERRIDE; |
| 48 | 49 |
| 49 virtual void GetAudioInputDeviceNames( | 50 virtual void GetAudioInputDeviceNames( |
| 50 media::AudioDeviceNames* device_names) OVERRIDE; | 51 media::AudioDeviceNames* device_names) OVERRIDE; |
| 51 | 52 |
| 52 virtual AudioOutputStream* MakeAudioOutputStream( | 53 virtual AudioOutputStream* MakeAudioOutputStream( |
| 53 const AudioParameters& params, | 54 const AudioParameters& params, |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // Map of cached AudioOutputDispatcher instances. Must only be touched | 169 // Map of cached AudioOutputDispatcher instances. Must only be touched |
| 169 // from the audio thread (no locking). | 170 // from the audio thread (no locking). |
| 170 AudioOutputDispatchers output_dispatchers_; | 171 AudioOutputDispatchers output_dispatchers_; |
| 171 | 172 |
| 172 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); | 173 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 } // namespace media | 176 } // namespace media |
| 176 | 177 |
| 177 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 178 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
| OLD | NEW |