| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 int32_t _playout_index; | 167 int32_t _playout_index; |
| 168 int32_t _record_index; | 168 int32_t _record_index; |
| 169 AudioDeviceModule::BufferType _playBufType; | 169 AudioDeviceModule::BufferType _playBufType; |
| 170 AudioDeviceBuffer* _ptrAudioBuffer; | 170 AudioDeviceBuffer* _ptrAudioBuffer; |
| 171 int8_t* _recordingBuffer; // In bytes. | 171 int8_t* _recordingBuffer; // In bytes. |
| 172 int8_t* _playoutBuffer; // In bytes. | 172 int8_t* _playoutBuffer; // In bytes. |
| 173 uint32_t _recordingFramesLeft; | 173 uint32_t _recordingFramesLeft; |
| 174 uint32_t _playoutFramesLeft; | 174 uint32_t _playoutFramesLeft; |
| 175 CriticalSectionWrapper& _critSect; | 175 CriticalSectionWrapper& _critSect; |
| 176 | 176 |
| 177 uint32_t _recordingBufferSizeIn10MS; | 177 size_t _recordingBufferSizeIn10MS; |
| 178 uint32_t _recordingFramesIn10MS; | 178 size_t _recordingFramesIn10MS; |
| 179 uint32_t _playoutFramesIn10MS; | 179 size_t _playoutFramesIn10MS; |
| 180 | 180 |
| 181 rtc::scoped_ptr<ThreadWrapper> _ptrThreadRec; | 181 rtc::scoped_ptr<ThreadWrapper> _ptrThreadRec; |
| 182 rtc::scoped_ptr<ThreadWrapper> _ptrThreadPlay; | 182 rtc::scoped_ptr<ThreadWrapper> _ptrThreadPlay; |
| 183 | 183 |
| 184 bool _playing; | 184 bool _playing; |
| 185 bool _recording; | 185 bool _recording; |
| 186 uint64_t _lastCallPlayoutMillis; | 186 uint64_t _lastCallPlayoutMillis; |
| 187 uint64_t _lastCallRecordMillis; | 187 uint64_t _lastCallRecordMillis; |
| 188 | 188 |
| 189 FileWrapper& _outputFile; | 189 FileWrapper& _outputFile; |
| 190 FileWrapper& _inputFile; | 190 FileWrapper& _inputFile; |
| 191 std::string _outputFilename; | 191 std::string _outputFilename; |
| 192 std::string _inputFilename; | 192 std::string _inputFilename; |
| 193 | 193 |
| 194 Clock* _clock; | 194 Clock* _clock; |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace webrtc | 197 } // namespace webrtc |
| 198 | 198 |
| 199 #endif // WEBRTC_AUDIO_DEVICE_FILE_AUDIO_DEVICE_H | 199 #endif // WEBRTC_AUDIO_DEVICE_FILE_AUDIO_DEVICE_H |
| OLD | NEW |