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_MIXER_MANAGER_PULSE_LINUX_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_PULSE_LINUX_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_PULSE_LINUX_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_PULSE_LINUX_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/modules/audio_device/linux/pulseaudiosymboltable_linux.h" | 15 #include "webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.h" |
16 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | |
17 #include "webrtc/typedefs.h" | 16 #include "webrtc/typedefs.h" |
18 #include "webrtc/base/thread_checker.h" | 17 #include "webrtc/base/thread_checker.h" |
19 | 18 |
20 #include <pulse/pulseaudio.h> | 19 #include <pulse/pulseaudio.h> |
21 #include <stdint.h> | 20 #include <stdint.h> |
22 | 21 |
23 #ifndef UINT32_MAX | 22 #ifndef UINT32_MAX |
24 #define UINT32_MAX ((uint32_t)-1) | 23 #define UINT32_MAX ((uint32_t)-1) |
25 #endif | 24 #endif |
26 | 25 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // Stores thread ID in constructor. | 110 // Stores thread ID in constructor. |
112 // We can then use ThreadChecker::CalledOnValidThread() to ensure that | 111 // We can then use ThreadChecker::CalledOnValidThread() to ensure that |
113 // other methods are called from the same thread. | 112 // other methods are called from the same thread. |
114 // Currently only does RTC_DCHECK(thread_checker_.CalledOnValidThread()). | 113 // Currently only does RTC_DCHECK(thread_checker_.CalledOnValidThread()). |
115 rtc::ThreadChecker thread_checker_; | 114 rtc::ThreadChecker thread_checker_; |
116 }; | 115 }; |
117 | 116 |
118 } | 117 } |
119 | 118 |
120 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_MIXER_MANAGER_PULSE_LINU
X_H_ | 119 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_MIXER_MANAGER_PULSE_LINU
X_H_ |
OLD | NEW |