| 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_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ | 12 #define WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 | 15 |
| 16 #include "webrtc/base/asyncinvoker.h" | 16 #include "webrtc/base/asyncinvoker.h" |
| 17 #include "webrtc/base/objc/RTCMacros.h" | |
| 18 #include "webrtc/base/thread.h" | 17 #include "webrtc/base/thread.h" |
| 19 #include "webrtc/base/thread_checker.h" | 18 #include "webrtc/base/thread_checker.h" |
| 20 #include "webrtc/modules/audio_device/audio_device_generic.h" | 19 #include "webrtc/modules/audio_device/audio_device_generic.h" |
| 21 #include "webrtc/modules/audio_device/ios/audio_session_observer.h" | 20 #include "webrtc/modules/audio_device/ios/audio_session_observer.h" |
| 22 #include "webrtc/modules/audio_device/ios/voice_processing_audio_unit.h" | 21 #include "webrtc/modules/audio_device/ios/voice_processing_audio_unit.h" |
| 22 #include "webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMacros.h" |
| 23 | 23 |
| 24 RTC_FWD_DECL_OBJC_CLASS(RTCAudioSessionDelegateAdapter); | 24 RTC_FWD_DECL_OBJC_CLASS(RTCAudioSessionDelegateAdapter); |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 | 27 |
| 28 class FineAudioBuffer; | 28 class FineAudioBuffer; |
| 29 | 29 |
| 30 // Implements full duplex 16-bit mono PCM audio support for iOS using a | 30 // Implements full duplex 16-bit mono PCM audio support for iOS using a |
| 31 // Voice-Processing (VP) I/O audio unit in Core Audio. The VP I/O audio unit | 31 // Voice-Processing (VP) I/O audio unit in Core Audio. The VP I/O audio unit |
| 32 // supports audio echo cancellation. It also adds automatic gain control, | 32 // supports audio echo cancellation. It also adds automatic gain control, |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // Set to true if audio session is interrupted, false otherwise. | 282 // Set to true if audio session is interrupted, false otherwise. |
| 283 bool is_interrupted_; | 283 bool is_interrupted_; |
| 284 | 284 |
| 285 // Audio interruption observer instance. | 285 // Audio interruption observer instance. |
| 286 RTCAudioSessionDelegateAdapter* audio_session_observer_; | 286 RTCAudioSessionDelegateAdapter* audio_session_observer_; |
| 287 }; | 287 }; |
| 288 | 288 |
| 289 } // namespace webrtc | 289 } // namespace webrtc |
| 290 | 290 |
| 291 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ | 291 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ |
| OLD | NEW |