| 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 "webrtc/base/scoped_ptr.h" | 14 #include "webrtc/base/scoped_ptr.h" |
| 15 #include "webrtc/base/thread_annotations.h" | 15 #include "webrtc/base/thread_annotations.h" |
| 16 #include "webrtc/modules/audio_device/audio_device_generic.h" | 16 #include "webrtc/modules/audio_device/audio_device_generic.h" |
| 17 #include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" | 17 #include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" |
| 18 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 19 | 19 |
| 20 #include <AudioToolbox/AudioConverter.h> | 20 #include <AudioToolbox/AudioConverter.h> |
| 21 #include <CoreAudio/CoreAudio.h> | 21 #include <CoreAudio/CoreAudio.h> |
| 22 #include <mach/semaphore.h> | 22 #include <mach/semaphore.h> |
| 23 | 23 |
| 24 struct PaUtilRingBuffer; | 24 struct PaUtilRingBuffer; |
| 25 | 25 |
| 26 namespace webrtc | 26 namespace webrtc |
| 27 { | 27 { |
| 28 class EventWrapper; | 28 class EventWrapper; |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 int _renderBufSizeSamples; | 365 int _renderBufSizeSamples; |
| 366 | 366 |
| 367 // Typing detection | 367 // Typing detection |
| 368 // 0x5c is key "9", after that comes function keys. | 368 // 0x5c is key "9", after that comes function keys. |
| 369 bool prev_key_state_[0x5d]; | 369 bool prev_key_state_[0x5d]; |
| 370 }; | 370 }; |
| 371 | 371 |
| 372 } // namespace webrtc | 372 } // namespace webrtc |
| 373 | 373 |
| 374 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ | 374 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ |
| OLD | NEW |