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_low_latency_input_mac.h" | 5 #include "media/audio/mac/audio_low_latency_input_mac.h" |
6 | 6 |
7 #include <CoreAudio/CoreAudio.h> | |
Nico
2012/07/26 02:40:45
Do you need this? You already added it to the .h f
| |
7 #include <CoreServices/CoreServices.h> | 8 #include <CoreServices/CoreServices.h> |
8 | 9 |
9 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 #include "base/mac/mac_logging.h" | 12 #include "base/mac/mac_logging.h" |
12 #include "media/audio/audio_util.h" | 13 #include "media/audio/audio_util.h" |
13 #include "media/audio/mac/audio_manager_mac.h" | 14 #include "media/audio/mac/audio_manager_mac.h" |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 | 17 |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
601 kAudioDevicePropertyScopeInput, | 602 kAudioDevicePropertyScopeInput, |
602 static_cast<UInt32>(channel) | 603 static_cast<UInt32>(channel) |
603 }; | 604 }; |
604 OSStatus result = AudioObjectIsPropertySettable(input_device_id_, | 605 OSStatus result = AudioObjectIsPropertySettable(input_device_id_, |
605 &property_address, | 606 &property_address, |
606 &is_settable); | 607 &is_settable); |
607 return (result == noErr) ? is_settable : false; | 608 return (result == noErr) ? is_settable : false; |
608 } | 609 } |
609 | 610 |
610 } // namespace media | 611 } // namespace media |
OLD | NEW |