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_BUFFER_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H |
13 | 13 |
14 #include "webrtc/modules/audio_device/include/audio_device.h" | 14 #include "webrtc/modules/audio_device/include/audio_device.h" |
15 #include "webrtc/system_wrappers/interface/file_wrapper.h" | 15 #include "webrtc/system_wrappers/include/file_wrapper.h" |
16 #include "webrtc/typedefs.h" | 16 #include "webrtc/typedefs.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 class CriticalSectionWrapper; | 19 class CriticalSectionWrapper; |
20 | 20 |
21 const uint32_t kPulsePeriodMs = 1000; | 21 const uint32_t kPulsePeriodMs = 1000; |
22 const size_t kMaxBufferSizeBytes = 3840; // 10ms in stereo @ 96kHz | 22 const size_t kMaxBufferSizeBytes = 3840; // 10ms in stereo @ 96kHz |
23 | 23 |
24 class AudioDeviceObserver; | 24 class AudioDeviceObserver; |
25 | 25 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 int _playDelayMS; | 115 int _playDelayMS; |
116 int _recDelayMS; | 116 int _recDelayMS; |
117 int _clockDrift; | 117 int _clockDrift; |
118 int high_delay_counter_; | 118 int high_delay_counter_; |
119 }; | 119 }; |
120 | 120 |
121 } // namespace webrtc | 121 } // namespace webrtc |
122 | 122 |
123 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H | 123 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H |
OLD | NEW |