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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 mutable uint32_t _paMute; | 104 mutable uint32_t _paMute; |
105 mutable uint32_t _paVolSteps; | 105 mutable uint32_t _paVolSteps; |
106 bool _paSpeakerMute; | 106 bool _paSpeakerMute; |
107 mutable uint32_t _paSpeakerVolume; | 107 mutable uint32_t _paSpeakerVolume; |
108 mutable uint8_t _paChannels; | 108 mutable uint8_t _paChannels; |
109 bool _paObjectsSet; | 109 bool _paObjectsSet; |
110 | 110 |
111 // Stores thread ID in constructor. | 111 // Stores thread ID in constructor. |
112 // We can then use ThreadChecker::CalledOnValidThread() to ensure that | 112 // We can then use ThreadChecker::CalledOnValidThread() to ensure that |
113 // other methods are called from the same thread. | 113 // other methods are called from the same thread. |
114 // Currently only does DCHECK(thread_checker_.CalledOnValidThread()). | 114 // Currently only does RTC_DCHECK(thread_checker_.CalledOnValidThread()). |
115 rtc::ThreadChecker thread_checker_; | 115 rtc::ThreadChecker thread_checker_; |
116 }; | 116 }; |
117 | 117 |
118 } | 118 } |
119 | 119 |
120 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_MIXER_MANAGER_PULSE_LINU
X_H_ | 120 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_MIXER_MANAGER_PULSE_LINU
X_H_ |
OLD | NEW |