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_MAC_AUDIO_MANAGER_MAC_H_ | 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "media/audio/audio_manager_base.h" | 10 #include "media/audio/audio_manager_base.h" |
11 | 11 |
| 12 namespace media { |
| 13 |
12 // Mac OS X implementation of the AudioManager singleton. This class is internal | 14 // Mac OS X implementation of the AudioManager singleton. This class is internal |
13 // to the audio output and only internal users can call methods not exposed by | 15 // to the audio output and only internal users can call methods not exposed by |
14 // the AudioManager class. | 16 // the AudioManager class. |
15 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase { | 17 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase { |
16 public: | 18 public: |
17 AudioManagerMac(); | 19 AudioManagerMac(); |
18 | 20 |
19 // Implementation of AudioManager. | 21 // Implementation of AudioManager. |
20 virtual bool HasAudioOutputDevices() OVERRIDE; | 22 virtual bool HasAudioOutputDevices() OVERRIDE; |
21 virtual bool HasAudioInputDevices() OVERRIDE; | 23 virtual bool HasAudioInputDevices() OVERRIDE; |
(...skipping 12 matching lines...) Expand all Loading... |
34 virtual AudioInputStream* MakeLowLatencyInputStream( | 36 virtual AudioInputStream* MakeLowLatencyInputStream( |
35 const AudioParameters& params, const std::string& device_id) OVERRIDE; | 37 const AudioParameters& params, const std::string& device_id) OVERRIDE; |
36 | 38 |
37 protected: | 39 protected: |
38 virtual ~AudioManagerMac(); | 40 virtual ~AudioManagerMac(); |
39 | 41 |
40 private: | 42 private: |
41 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); | 43 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); |
42 }; | 44 }; |
43 | 45 |
| 46 } // namespace media |
| 47 |
44 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 48 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
OLD | NEW |