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 15 matching lines...) Expand all Loading... |
26 #include <sys/soundcard.h> | 26 #include <sys/soundcard.h> |
27 | 27 |
28 | 28 |
29 namespace webrtc | 29 namespace webrtc |
30 { | 30 { |
31 class EventWrapper; | 31 class EventWrapper; |
32 | 32 |
33 class AudioDeviceLinuxALSA : public AudioDeviceGeneric | 33 class AudioDeviceLinuxALSA : public AudioDeviceGeneric |
34 { | 34 { |
35 public: | 35 public: |
36 AudioDeviceLinuxALSA(const int32_t id); | 36 AudioDeviceLinuxALSA(); |
37 virtual ~AudioDeviceLinuxALSA(); | 37 virtual ~AudioDeviceLinuxALSA(); |
38 | 38 |
39 // Retrieve the currently utilized audio layer | 39 // Retrieve the currently utilized audio layer |
40 int32_t ActiveAudioLayer( | 40 int32_t ActiveAudioLayer( |
41 AudioDeviceModule::AudioLayer& audioLayer) const override; | 41 AudioDeviceModule::AudioLayer& audioLayer) const override; |
42 | 42 |
43 // Main initializaton and termination | 43 // Main initializaton and termination |
44 InitStatus Init() override; | 44 InitStatus Init() override; |
45 int32_t Terminate() override; | 45 int32_t Terminate() override; |
46 bool Initialized() const override; | 46 bool Initialized() const override; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 char _oldKeyState[32]; | 239 char _oldKeyState[32]; |
240 #if defined(USE_X11) | 240 #if defined(USE_X11) |
241 Display* _XDisplay; | 241 Display* _XDisplay; |
242 #endif | 242 #endif |
243 }; | 243 }; |
244 | 244 |
245 } | 245 } |
246 | 246 |
247 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_ALSA_LINUX_H_ | 247 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_ALSA_LINUX_H_ |
OLD | NEW |