| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 { | 96 { |
| 97 public: | 97 public: |
| 98 AudioDeviceLinuxPulse(const int32_t id); | 98 AudioDeviceLinuxPulse(const int32_t id); |
| 99 virtual ~AudioDeviceLinuxPulse(); | 99 virtual ~AudioDeviceLinuxPulse(); |
| 100 | 100 |
| 101 // Retrieve the currently utilized audio layer | 101 // Retrieve the currently utilized audio layer |
| 102 int32_t ActiveAudioLayer( | 102 int32_t ActiveAudioLayer( |
| 103 AudioDeviceModule::AudioLayer& audioLayer) const override; | 103 AudioDeviceModule::AudioLayer& audioLayer) const override; |
| 104 | 104 |
| 105 // Main initializaton and termination | 105 // Main initializaton and termination |
| 106 int32_t Init() override; | 106 InitStatus Init() override; |
| 107 int32_t Terminate() override; | 107 int32_t Terminate() override; |
| 108 bool Initialized() const override; | 108 bool Initialized() const override; |
| 109 | 109 |
| 110 // Device enumeration | 110 // Device enumeration |
| 111 int16_t PlayoutDevices() override; | 111 int16_t PlayoutDevices() override; |
| 112 int16_t RecordingDevices() override; | 112 int16_t RecordingDevices() override; |
| 113 int32_t PlayoutDeviceName(uint16_t index, | 113 int32_t PlayoutDeviceName(uint16_t index, |
| 114 char name[kAdmMaxDeviceNameSize], | 114 char name[kAdmMaxDeviceNameSize], |
| 115 char guid[kAdmMaxGuidSize]) override; | 115 char guid[kAdmMaxGuidSize]) override; |
| 116 int32_t RecordingDeviceName(uint16_t index, | 116 int32_t RecordingDeviceName(uint16_t index, |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 pa_buffer_attr _playBufferAttr; | 369 pa_buffer_attr _playBufferAttr; |
| 370 pa_buffer_attr _recBufferAttr; | 370 pa_buffer_attr _recBufferAttr; |
| 371 | 371 |
| 372 char _oldKeyState[32]; | 372 char _oldKeyState[32]; |
| 373 Display* _XDisplay; | 373 Display* _XDisplay; |
| 374 }; | 374 }; |
| 375 | 375 |
| 376 } | 376 } |
| 377 | 377 |
| 378 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_PULSE_LINUX_H_ | 378 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_PULSE_LINUX_H_ |
| OLD | NEW |