Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Side by Side Diff: webrtc/modules/audio_device/dummy/audio_device_dummy.cc

Issue 3006793002: Removes unused WaveOut APIs from ADM (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int32_t AudioDeviceDummy::StartRecording() { return -1; } 76 int32_t AudioDeviceDummy::StartRecording() { return -1; }
77 77
78 int32_t AudioDeviceDummy::StopRecording() { return 0; } 78 int32_t AudioDeviceDummy::StopRecording() { return 0; }
79 79
80 bool AudioDeviceDummy::Recording() const { return false; } 80 bool AudioDeviceDummy::Recording() const { return false; }
81 81
82 int32_t AudioDeviceDummy::SetAGC(bool enable) { return -1; } 82 int32_t AudioDeviceDummy::SetAGC(bool enable) { return -1; }
83 83
84 bool AudioDeviceDummy::AGC() const { return false; } 84 bool AudioDeviceDummy::AGC() const { return false; }
85 85
86 int32_t AudioDeviceDummy::SetWaveOutVolume(uint16_t volumeLeft,
87 uint16_t volumeRight) {
88 return -1;
89 }
90
91 int32_t AudioDeviceDummy::WaveOutVolume(uint16_t& volumeLeft,
92 uint16_t& volumeRight) const {
93 return -1;
94 }
95
96 int32_t AudioDeviceDummy::InitSpeaker() { return -1; } 86 int32_t AudioDeviceDummy::InitSpeaker() { return -1; }
97 87
98 bool AudioDeviceDummy::SpeakerIsInitialized() const { return false; } 88 bool AudioDeviceDummy::SpeakerIsInitialized() const { return false; }
99 89
100 int32_t AudioDeviceDummy::InitMicrophone() { return -1; } 90 int32_t AudioDeviceDummy::InitMicrophone() { return -1; }
101 91
102 bool AudioDeviceDummy::MicrophoneIsInitialized() const { return false; } 92 bool AudioDeviceDummy::MicrophoneIsInitialized() const { return false; }
103 93
104 int32_t AudioDeviceDummy::SpeakerVolumeIsAvailable(bool& available) { 94 int32_t AudioDeviceDummy::SpeakerVolumeIsAvailable(bool& available) {
105 return -1; 95 return -1;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void AudioDeviceDummy::ClearPlayoutWarning() {} 198 void AudioDeviceDummy::ClearPlayoutWarning() {}
209 199
210 void AudioDeviceDummy::ClearPlayoutError() {} 200 void AudioDeviceDummy::ClearPlayoutError() {}
211 201
212 void AudioDeviceDummy::ClearRecordingWarning() {} 202 void AudioDeviceDummy::ClearRecordingWarning() {}
213 203
214 void AudioDeviceDummy::ClearRecordingError() {} 204 void AudioDeviceDummy::ClearRecordingError() {}
215 205
216 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} 206 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {}
217 } // namespace webrtc 207 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698