| 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/message_loop_proxy.h" | |
| 14 #include "media/audio/audio_manager_base.h" | 13 #include "media/audio/audio_manager_base.h" |
| 15 #include "media/audio/mac/aggregate_device_manager.h" | 14 #include "media/audio/mac/aggregate_device_manager.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 // Mac OS X implementation of the AudioManager singleton. This class is internal | 19 // 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 | 20 // to the audio output and only internal users can call methods not exposed by |
| 22 // the AudioManager class. | 21 // the AudioManager class. |
| 23 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase { | 22 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 AudioDeviceID current_output_device_; | 89 AudioDeviceID current_output_device_; |
| 91 | 90 |
| 92 AggregateDeviceManager aggregate_device_manager_; | 91 AggregateDeviceManager aggregate_device_manager_; |
| 93 | 92 |
| 94 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); | 93 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace media | 96 } // namespace media |
| 98 | 97 |
| 99 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ | 98 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ |
| OLD | NEW |