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 #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 class PCMQueueInAudioInputStream; | |
13 class PCMQueueOutAudioOutputStream; | |
14 | |
15 // Mac OS X implementation of the AudioManager singleton. This class is internal | 12 // Mac OS X implementation of the AudioManager singleton. This class is internal |
16 // to the audio output and only internal users can call methods not exposed by | 13 // to the audio output and only internal users can call methods not exposed by |
17 // the AudioManager class. | 14 // the AudioManager class. |
18 class AudioManagerMac : public AudioManagerBase { | 15 class AudioManagerMac : public AudioManagerBase { |
19 public: | 16 public: |
20 AudioManagerMac(); | 17 AudioManagerMac(); |
21 | 18 |
22 // Implementation of AudioManager. | 19 // Implementation of AudioManager. |
23 virtual bool HasAudioOutputDevices() OVERRIDE; | 20 virtual bool HasAudioOutputDevices() OVERRIDE; |
24 virtual bool HasAudioInputDevices() OVERRIDE; | 21 virtual bool HasAudioInputDevices() OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
40 private: | 37 private: |
41 virtual ~AudioManagerMac(); | 38 virtual ~AudioManagerMac(); |
42 | 39 |
43 // Number of currently open output streams. | 40 // Number of currently open output streams. |
44 size_t num_output_streams_; | 41 size_t num_output_streams_; |
45 | 42 |
46 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); | 43 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); |
47 }; | 44 }; |
48 | 45 |
49 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 46 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
OLD | NEW |