OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 int32_t StartPlayout() override; | 97 int32_t StartPlayout() override; |
98 int32_t StopPlayout() override; | 98 int32_t StopPlayout() override; |
99 bool Playing() const override; | 99 bool Playing() const override; |
100 int32_t StartRecording() override; | 100 int32_t StartRecording() override; |
101 int32_t StopRecording() override; | 101 int32_t StopRecording() override; |
102 bool Recording() const override; | 102 bool Recording() const override; |
103 | 103 |
104 int32_t SetAGC(bool enable) override; | 104 int32_t SetAGC(bool enable) override; |
105 bool AGC() const override; | 105 bool AGC() const override; |
106 | 106 |
107 int32_t SetWaveOutVolume(uint16_t volume_left, | |
108 uint16_t volume_right) override; | |
109 int32_t WaveOutVolume(uint16_t* volume_left, | |
110 uint16_t* volume_right) const override; | |
111 | |
112 int32_t InitSpeaker() override; | 107 int32_t InitSpeaker() override; |
113 bool SpeakerIsInitialized() const override; | 108 bool SpeakerIsInitialized() const override; |
114 int32_t InitMicrophone() override; | 109 int32_t InitMicrophone() override; |
115 bool MicrophoneIsInitialized() const override; | 110 bool MicrophoneIsInitialized() const override; |
116 | 111 |
117 int32_t SpeakerVolumeIsAvailable(bool* available) override; | 112 int32_t SpeakerVolumeIsAvailable(bool* available) override; |
118 int32_t SetSpeakerVolume(uint32_t volume) override; | 113 int32_t SetSpeakerVolume(uint32_t volume) override; |
119 int32_t SpeakerVolume(uint32_t* volume) const override; | 114 int32_t SpeakerVolume(uint32_t* volume) const override; |
120 int32_t MaxSpeakerVolume(uint32_t* max_volume) const override; | 115 int32_t MaxSpeakerVolume(uint32_t* max_volume) const override; |
121 int32_t MinSpeakerVolume(uint32_t* min_volume) const override; | 116 int32_t MinSpeakerVolume(uint32_t* min_volume) const override; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 267 |
273 // Protects variables that are accessed from process_thread_ and | 268 // Protects variables that are accessed from process_thread_ and |
274 // the main thread. | 269 // the main thread. |
275 rtc::CriticalSection crit_; | 270 rtc::CriticalSection crit_; |
276 // Protects |audio_callback_| that is accessed from process_thread_ and | 271 // Protects |audio_callback_| that is accessed from process_thread_ and |
277 // the main thread. | 272 // the main thread. |
278 rtc::CriticalSection crit_callback_; | 273 rtc::CriticalSection crit_callback_; |
279 }; | 274 }; |
280 | 275 |
281 #endif // WEBRTC_PC_TEST_FAKEAUDIOCAPTUREMODULE_H_ | 276 #endif // WEBRTC_PC_TEST_FAKEAUDIOCAPTUREMODULE_H_ |
OLD | NEW |