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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 int sample_rate_hz_; | 298 int sample_rate_hz_; |
299 uint8_t _recChannels; | 299 uint8_t _recChannels; |
300 uint8_t _playChannels; | 300 uint8_t _playChannels; |
301 | 301 |
302 AudioDeviceModule::BufferType _playBufType; | 302 AudioDeviceModule::BufferType _playBufType; |
303 | 303 |
304 // Stores thread ID in constructor. | 304 // Stores thread ID in constructor. |
305 // We can then use ThreadChecker::CalledOnValidThread() to ensure that | 305 // We can then use ThreadChecker::CalledOnValidThread() to ensure that |
306 // other methods are called from the same thread. | 306 // other methods are called from the same thread. |
307 // Currently only does DCHECK(thread_checker_.CalledOnValidThread()). | 307 // Currently only does RTC_DCHECK(thread_checker_.CalledOnValidThread()). |
308 rtc::ThreadChecker thread_checker_; | 308 rtc::ThreadChecker thread_checker_; |
309 | 309 |
310 bool _initialized; | 310 bool _initialized; |
311 bool _recording; | 311 bool _recording; |
312 bool _playing; | 312 bool _playing; |
313 bool _recIsInitialized; | 313 bool _recIsInitialized; |
314 bool _playIsInitialized; | 314 bool _playIsInitialized; |
315 bool _startRec; | 315 bool _startRec; |
316 bool _stopRec; | 316 bool _stopRec; |
317 bool _startPlay; | 317 bool _startPlay; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 pa_buffer_attr _playBufferAttr; | 366 pa_buffer_attr _playBufferAttr; |
367 pa_buffer_attr _recBufferAttr; | 367 pa_buffer_attr _recBufferAttr; |
368 | 368 |
369 char _oldKeyState[32]; | 369 char _oldKeyState[32]; |
370 Display* _XDisplay; | 370 Display* _XDisplay; |
371 }; | 371 }; |
372 | 372 |
373 } | 373 } |
374 | 374 |
375 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_PULSE_LINUX_H_ | 375 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_PULSE_LINUX_H_ |
OLD | NEW |