OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_MAC_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_MAC_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_MAC_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_MAC_H |
13 | 13 |
| 14 #include "webrtc/base/criticalsection.h" |
14 #include "webrtc/modules/audio_device/include/audio_device.h" | 15 #include "webrtc/modules/audio_device/include/audio_device.h" |
15 #include "webrtc/rtc_base/criticalsection.h" | |
16 #include "webrtc/system_wrappers/include/trace.h" | 16 #include "webrtc/system_wrappers/include/trace.h" |
17 #include "webrtc/typedefs.h" | 17 #include "webrtc/typedefs.h" |
18 | 18 |
19 #include <CoreAudio/CoreAudio.h> | 19 #include <CoreAudio/CoreAudio.h> |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 | 22 |
23 class AudioMixerManagerMac { | 23 class AudioMixerManagerMac { |
24 public: | 24 public: |
25 int32_t OpenSpeaker(AudioDeviceID deviceID); | 25 int32_t OpenSpeaker(AudioDeviceID deviceID); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 AudioDeviceID _inputDeviceID; | 71 AudioDeviceID _inputDeviceID; |
72 AudioDeviceID _outputDeviceID; | 72 AudioDeviceID _outputDeviceID; |
73 | 73 |
74 uint16_t _noInputChannels; | 74 uint16_t _noInputChannels; |
75 uint16_t _noOutputChannels; | 75 uint16_t _noOutputChannels; |
76 }; | 76 }; |
77 | 77 |
78 } // namespace webrtc | 78 } // namespace webrtc |
79 | 79 |
80 #endif // AUDIO_MIXER_MAC_H | 80 #endif // AUDIO_MIXER_MAC_H |
OLD | NEW |