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 |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 UINT64 _writtenSamples; | 325 UINT64 _writtenSamples; |
326 LONGLONG _playAcc; | 326 LONGLONG _playAcc; |
327 | 327 |
328 UINT _recAudioFrameSize; | 328 UINT _recAudioFrameSize; |
329 uint32_t _recSampleRate; | 329 uint32_t _recSampleRate; |
330 uint32_t _recBlockSize; | 330 uint32_t _recBlockSize; |
331 uint32_t _recChannels; | 331 uint32_t _recChannels; |
332 UINT64 _readSamples; | 332 UINT64 _readSamples; |
333 uint32_t _sndCardRecDelay; | 333 uint32_t _sndCardRecDelay; |
334 | 334 |
335 uint16_t _recChannelsPrioList[2]; | 335 uint16_t _recChannelsPrioList[3]; |
336 uint16_t _playChannelsPrioList[2]; | 336 uint16_t _playChannelsPrioList[2]; |
337 | 337 |
338 LARGE_INTEGER _perfCounterFreq; | 338 LARGE_INTEGER _perfCounterFreq; |
339 double _perfCounterFactor; | 339 double _perfCounterFactor; |
340 float _avgCPULoad; | 340 float _avgCPULoad; |
341 | 341 |
342 private: | 342 private: |
343 bool _initialized; | 343 bool _initialized; |
344 bool _recording; | 344 bool _recording; |
345 bool _playing; | 345 bool _playing; |
(...skipping 23 matching lines...) Expand all Loading... |
369 uint16_t _newMicLevel; | 369 uint16_t _newMicLevel; |
370 | 370 |
371 mutable char _str[512]; | 371 mutable char _str[512]; |
372 }; | 372 }; |
373 | 373 |
374 #endif // #if (_MSC_VER >= 1400) | 374 #endif // #if (_MSC_VER >= 1400) |
375 | 375 |
376 } // namespace webrtc | 376 } // namespace webrtc |
377 | 377 |
378 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CORE_WIN_H_ | 378 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CORE_WIN_H_ |
OLD | NEW |