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_IMPL_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_IMPL_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_IMPL_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_IMPL_H |
13 | 13 |
14 #if defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE) | 14 #if defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE) |
15 | 15 |
16 #include <memory> | 16 #include <memory> |
17 | 17 |
| 18 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/criticalsection.h" |
18 #include "webrtc/modules/audio_device/audio_device_buffer.h" | 20 #include "webrtc/modules/audio_device/audio_device_buffer.h" |
19 #include "webrtc/modules/audio_device/include/audio_device.h" | 21 #include "webrtc/modules/audio_device/include/audio_device.h" |
20 #include "webrtc/rtc_base/checks.h" | |
21 #include "webrtc/rtc_base/criticalsection.h" | |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 | 24 |
25 class AudioDeviceGeneric; | 25 class AudioDeviceGeneric; |
26 class AudioManager; | 26 class AudioManager; |
27 | 27 |
28 class AudioDeviceModuleImpl : public AudioDeviceModule { | 28 class AudioDeviceModuleImpl : public AudioDeviceModule { |
29 public: | 29 public: |
30 enum PlatformType { | 30 enum PlatformType { |
31 kPlatformNotSupported = 0, | 31 kPlatformNotSupported = 0, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 PlatformType _platformType; | 221 PlatformType _platformType; |
222 bool _initialized; | 222 bool _initialized; |
223 mutable ErrorCode _lastError; | 223 mutable ErrorCode _lastError; |
224 }; | 224 }; |
225 | 225 |
226 } // namespace webrtc | 226 } // namespace webrtc |
227 | 227 |
228 #endif // defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE) | 228 #endif // defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE) |
229 | 229 |
230 #endif // WEBRTC_MODULES_INTERFACE_AUDIO_DEVICE_IMPL_H_ | 230 #endif // WEBRTC_MODULES_INTERFACE_AUDIO_DEVICE_IMPL_H_ |
OLD | NEW |