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 #include "media/audio/mac/audio_manager_mac.h" | 5 #include "media/audio/mac/audio_manager_mac.h" |
6 | 6 |
7 #include <CoreAudio/AudioHardware.h> | |
8 #include <string> | |
9 | 7 |
10 #include "base/bind.h" | 8 #include "base/bind.h" |
11 #include "base/command_line.h" | 9 #include "base/command_line.h" |
12 #include "base/mac/mac_logging.h" | 10 #include "base/mac/mac_logging.h" |
13 #include "base/mac/scoped_cftyperef.h" | 11 #include "base/mac/scoped_cftyperef.h" |
14 #include "base/power_monitor/power_monitor.h" | 12 #include "base/power_monitor/power_monitor.h" |
15 #include "base/power_monitor/power_observer.h" | 13 #include "base/power_monitor/power_observer.h" |
16 #include "base/strings/sys_string_conversions.h" | 14 #include "base/strings/sys_string_conversions.h" |
17 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
18 #include "media/audio/audio_parameters.h" | 16 #include "media/audio/audio_parameters.h" |
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 basic_input_streams_.erase(stream_it); | 825 basic_input_streams_.erase(stream_it); |
828 | 826 |
829 AudioManagerBase::ReleaseInputStream(stream); | 827 AudioManagerBase::ReleaseInputStream(stream); |
830 } | 828 } |
831 | 829 |
832 AudioManager* CreateAudioManager(AudioLogFactory* audio_log_factory) { | 830 AudioManager* CreateAudioManager(AudioLogFactory* audio_log_factory) { |
833 return new AudioManagerMac(audio_log_factory); | 831 return new AudioManagerMac(audio_log_factory); |
834 } | 832 } |
835 | 833 |
836 } // namespace media | 834 } // namespace media |
OLD | NEW |