OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_DEVICE_MAC_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_MAC_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_MAC_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_MAC_H |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
| 16 #include "webrtc/base/criticalsection.h" |
| 17 #include "webrtc/base/thread_annotations.h" |
16 #include "webrtc/modules/audio_device/audio_device_generic.h" | 18 #include "webrtc/modules/audio_device/audio_device_generic.h" |
17 #include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" | 19 #include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" |
18 #include "webrtc/rtc_base/criticalsection.h" | |
19 #include "webrtc/rtc_base/thread_annotations.h" | |
20 #include "webrtc/system_wrappers/include/event_wrapper.h" | 20 #include "webrtc/system_wrappers/include/event_wrapper.h" |
21 | 21 |
22 #include <AudioToolbox/AudioConverter.h> | 22 #include <AudioToolbox/AudioConverter.h> |
23 #include <CoreAudio/CoreAudio.h> | 23 #include <CoreAudio/CoreAudio.h> |
24 #include <mach/semaphore.h> | 24 #include <mach/semaphore.h> |
25 | 25 |
26 struct PaUtilRingBuffer; | 26 struct PaUtilRingBuffer; |
27 | 27 |
28 namespace rtc { | 28 namespace rtc { |
29 class PlatformThread; | 29 class PlatformThread; |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 // Typing detection | 376 // Typing detection |
377 // 0x5c is key "9", after that comes function keys. | 377 // 0x5c is key "9", after that comes function keys. |
378 bool prev_key_state_[0x5d]; | 378 bool prev_key_state_[0x5d]; |
379 | 379 |
380 int get_mic_volume_counter_ms_; | 380 int get_mic_volume_counter_ms_; |
381 }; | 381 }; |
382 | 382 |
383 } // namespace webrtc | 383 } // namespace webrtc |
384 | 384 |
385 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ | 385 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ |
OLD | NEW |