| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class AudioDeviceWindowsWave : public AudioDeviceGeneric | 43 class AudioDeviceWindowsWave : public AudioDeviceGeneric |
| 44 { | 44 { |
| 45 public: | 45 public: |
| 46 AudioDeviceWindowsWave(const int32_t id); | 46 AudioDeviceWindowsWave(const int32_t id); |
| 47 ~AudioDeviceWindowsWave(); | 47 ~AudioDeviceWindowsWave(); |
| 48 | 48 |
| 49 // Retrieve the currently utilized audio layer | 49 // Retrieve the currently utilized audio layer |
| 50 virtual int32_t ActiveAudioLayer(AudioDeviceModule::AudioLayer& audioLayer)
const; | 50 virtual int32_t ActiveAudioLayer(AudioDeviceModule::AudioLayer& audioLayer)
const; |
| 51 | 51 |
| 52 // Main initializaton and termination | 52 // Main initializaton and termination |
| 53 virtual int32_t Init(); | 53 virtual InitStatus Init(); |
| 54 virtual int32_t Terminate(); | 54 virtual int32_t Terminate(); |
| 55 virtual bool Initialized() const; | 55 virtual bool Initialized() const; |
| 56 | 56 |
| 57 // Device enumeration | 57 // Device enumeration |
| 58 virtual int16_t PlayoutDevices(); | 58 virtual int16_t PlayoutDevices(); |
| 59 virtual int16_t RecordingDevices(); | 59 virtual int16_t RecordingDevices(); |
| 60 virtual int32_t PlayoutDeviceName( | 60 virtual int32_t PlayoutDeviceName( |
| 61 uint16_t index, | 61 uint16_t index, |
| 62 char name[kAdmMaxDeviceNameSize], | 62 char name[kAdmMaxDeviceNameSize], |
| 63 char guid[kAdmMaxGuidSize]); | 63 char guid[kAdmMaxGuidSize]); |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 uint16_t _recError; | 334 uint16_t _recError; |
| 335 | 335 |
| 336 uint32_t _newMicLevel; | 336 uint32_t _newMicLevel; |
| 337 uint32_t _minMicVolume; | 337 uint32_t _minMicVolume; |
| 338 uint32_t _maxMicVolume; | 338 uint32_t _maxMicVolume; |
| 339 }; | 339 }; |
| 340 | 340 |
| 341 } // namespace webrtc | 341 } // namespace webrtc |
| 342 | 342 |
| 343 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_WAVE_WIN_H | 343 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_WAVE_WIN_H |
| OLD | NEW |