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/basictypes.h" | |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "media/audio/audio_manager_base.h" | 14 #include "media/audio/audio_manager_base.h" |
16 #include "media/audio/mac/audio_device_listener_mac.h" | 15 #include "media/audio/mac/audio_device_listener_mac.h" |
17 | 16 |
18 namespace media { | 17 namespace media { |
19 | 18 |
20 class AUAudioInputStream; | 19 class AUAudioInputStream; |
21 class AUHALStream; | 20 class AUHALStream; |
22 | 21 |
23 // Mac OS X implementation of the AudioManager singleton. This class is internal | 22 // Mac OS X implementation of the AudioManager singleton. This class is internal |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 std::list<AudioInputStream*> basic_input_streams_; | 133 std::list<AudioInputStream*> basic_input_streams_; |
135 std::list<AUAudioInputStream*> low_latency_input_streams_; | 134 std::list<AUAudioInputStream*> low_latency_input_streams_; |
136 std::list<AUHALStream*> output_streams_; | 135 std::list<AUHALStream*> output_streams_; |
137 | 136 |
138 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); | 137 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); |
139 }; | 138 }; |
140 | 139 |
141 } // namespace media | 140 } // namespace media |
142 | 141 |
143 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 142 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
OLD | NEW |