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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 int32_t StopPlayout() override; | 62 int32_t StopPlayout() override; |
63 bool Playing() const override; | 63 bool Playing() const override; |
64 int32_t StartRecording() override; | 64 int32_t StartRecording() override; |
65 int32_t StopRecording() override; | 65 int32_t StopRecording() override; |
66 bool Recording() const override; | 66 bool Recording() const override; |
67 | 67 |
68 // Microphone Automatic Gain Control (AGC) | 68 // Microphone Automatic Gain Control (AGC) |
69 int32_t SetAGC(bool enable) override; | 69 int32_t SetAGC(bool enable) override; |
70 bool AGC() const override; | 70 bool AGC() const override; |
71 | 71 |
72 // Volume control based on the Windows Wave API (Windows only) | |
73 int32_t SetWaveOutVolume(uint16_t volumeLeft, uint16_t volumeRight) override; | |
74 int32_t WaveOutVolume(uint16_t& volumeLeft, | |
75 uint16_t& volumeRight) const override; | |
76 | |
77 // Audio mixer initialization | 72 // Audio mixer initialization |
78 int32_t InitSpeaker() override; | 73 int32_t InitSpeaker() override; |
79 bool SpeakerIsInitialized() const override; | 74 bool SpeakerIsInitialized() const override; |
80 int32_t InitMicrophone() override; | 75 int32_t InitMicrophone() override; |
81 bool MicrophoneIsInitialized() const override; | 76 bool MicrophoneIsInitialized() const override; |
82 | 77 |
83 // Speaker volume controls | 78 // Speaker volume controls |
84 int32_t SpeakerVolumeIsAvailable(bool& available) override; | 79 int32_t SpeakerVolumeIsAvailable(bool& available) override; |
85 int32_t SetSpeakerVolume(uint32_t volume) override; | 80 int32_t SetSpeakerVolume(uint32_t volume) override; |
86 int32_t SpeakerVolume(uint32_t& volume) const override; | 81 int32_t SpeakerVolume(uint32_t& volume) const override; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 void ClearPlayoutError() override; | 133 void ClearPlayoutError() override; |
139 void ClearRecordingWarning() override; | 134 void ClearRecordingWarning() override; |
140 void ClearRecordingError() override; | 135 void ClearRecordingError() override; |
141 | 136 |
142 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override; | 137 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override; |
143 }; | 138 }; |
144 | 139 |
145 } // namespace webrtc | 140 } // namespace webrtc |
146 | 141 |
147 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_DUMMY_H | 142 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_DUMMY_H |
OLD | NEW |