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 <AudioUnit/AudioUnit.h> | 8 #include <AudioUnit/AudioUnit.h> |
9 #include <CoreAudio/AudioHardware.h> | 9 #include <CoreAudio/AudioHardware.h> |
10 #include <list> | 10 #include <list> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" |
14 #include "media/audio/audio_manager_base.h" | 15 #include "media/audio/audio_manager_base.h" |
15 #include "media/audio/mac/audio_device_listener_mac.h" | 16 #include "media/audio/mac/audio_device_listener_mac.h" |
16 | 17 |
17 namespace media { | 18 namespace media { |
18 | 19 |
19 class AUAudioInputStream; | 20 class AUAudioInputStream; |
20 class AUHALStream; | 21 class AUHALStream; |
21 | 22 |
22 // Mac OS X implementation of the AudioManager singleton. This class is internal | 23 // Mac OS X implementation of the AudioManager singleton. This class is internal |
23 // to the audio output and only internal users can call methods not exposed by | 24 // to the audio output and only internal users can call methods not exposed by |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 std::list<AudioInputStream*> basic_input_streams_; | 134 std::list<AudioInputStream*> basic_input_streams_; |
134 std::list<AUAudioInputStream*> low_latency_input_streams_; | 135 std::list<AUAudioInputStream*> low_latency_input_streams_; |
135 std::list<AUHALStream*> output_streams_; | 136 std::list<AUHALStream*> output_streams_; |
136 | 137 |
137 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); | 138 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); |
138 }; | 139 }; |
139 | 140 |
140 } // namespace media | 141 } // namespace media |
141 | 142 |
142 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 143 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
OLD | NEW |