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 <CoreAudio/AudioHardware.h> | 8 #include <CoreAudio/AudioHardware.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/message_loop_proxy.h" | 13 #include "base/message_loop/message_loop_proxy.h" |
14 #include "media/audio/audio_manager_base.h" | 14 #include "media/audio/audio_manager_base.h" |
15 #include "media/audio/mac/aggregate_device_manager.h" | 15 #include "media/audio/mac/aggregate_device_manager.h" |
16 #include "media/audio/mac/audio_device_listener_mac.h" | 16 #include "media/audio/mac/audio_device_listener_mac.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 // Mac OS X implementation of the AudioManager singleton. This class is internal | 20 // Mac OS X implementation of the AudioManager singleton. This class is internal |
21 // to the audio output and only internal users can call methods not exposed by | 21 // to the audio output and only internal users can call methods not exposed by |
22 // the AudioManager class. | 22 // the AudioManager class. |
23 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase { | 23 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 AudioDeviceID current_output_device_; | 78 AudioDeviceID current_output_device_; |
79 | 79 |
80 AggregateDeviceManager aggregate_device_manager_; | 80 AggregateDeviceManager aggregate_device_manager_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); | 82 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace media | 85 } // namespace media |
86 | 86 |
87 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 87 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
OLD | NEW |