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

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

Issue 3006803002: Removes unused APIs from the ADM (part II) (Closed)
Patch Set: nit 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 int32_t AudioDeviceDummy::SpeakerVolume(uint32_t& volume) const { return -1; } 100 int32_t AudioDeviceDummy::SpeakerVolume(uint32_t& volume) const { return -1; }
101 101
102 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const { 102 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const {
103 return -1; 103 return -1;
104 } 104 }
105 105
106 int32_t AudioDeviceDummy::MinSpeakerVolume(uint32_t& minVolume) const { 106 int32_t AudioDeviceDummy::MinSpeakerVolume(uint32_t& minVolume) const {
107 return -1; 107 return -1;
108 } 108 }
109 109
110 int32_t AudioDeviceDummy::SpeakerVolumeStepSize(uint16_t& stepSize) const {
111 return -1;
112 }
113
114 int32_t AudioDeviceDummy::MicrophoneVolumeIsAvailable(bool& available) { 110 int32_t AudioDeviceDummy::MicrophoneVolumeIsAvailable(bool& available) {
115 return -1; 111 return -1;
116 } 112 }
117 113
118 int32_t AudioDeviceDummy::SetMicrophoneVolume(uint32_t volume) { return -1; } 114 int32_t AudioDeviceDummy::SetMicrophoneVolume(uint32_t volume) { return -1; }
119 115
120 int32_t AudioDeviceDummy::MicrophoneVolume(uint32_t& volume) const { 116 int32_t AudioDeviceDummy::MicrophoneVolume(uint32_t& volume) const {
121 return -1; 117 return -1;
122 } 118 }
123 119
124 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const { 120 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const {
125 return -1; 121 return -1;
126 } 122 }
127 123
128 int32_t AudioDeviceDummy::MinMicrophoneVolume(uint32_t& minVolume) const { 124 int32_t AudioDeviceDummy::MinMicrophoneVolume(uint32_t& minVolume) const {
129 return -1; 125 return -1;
130 } 126 }
131 127
132 int32_t AudioDeviceDummy::MicrophoneVolumeStepSize(uint16_t& stepSize) const {
133 return -1;
134 }
135
136 int32_t AudioDeviceDummy::SpeakerMuteIsAvailable(bool& available) { return -1; } 128 int32_t AudioDeviceDummy::SpeakerMuteIsAvailable(bool& available) { return -1; }
137 129
138 int32_t AudioDeviceDummy::SetSpeakerMute(bool enable) { return -1; } 130 int32_t AudioDeviceDummy::SetSpeakerMute(bool enable) { return -1; }
139 131
140 int32_t AudioDeviceDummy::SpeakerMute(bool& enabled) const { return -1; } 132 int32_t AudioDeviceDummy::SpeakerMute(bool& enabled) const { return -1; }
141 133
142 int32_t AudioDeviceDummy::MicrophoneMuteIsAvailable(bool& available) { 134 int32_t AudioDeviceDummy::MicrophoneMuteIsAvailable(bool& available) {
143 return -1; 135 return -1;
144 } 136 }
145 137
146 int32_t AudioDeviceDummy::SetMicrophoneMute(bool enable) { return -1; } 138 int32_t AudioDeviceDummy::SetMicrophoneMute(bool enable) { return -1; }
147 139
148 int32_t AudioDeviceDummy::MicrophoneMute(bool& enabled) const { return -1; } 140 int32_t AudioDeviceDummy::MicrophoneMute(bool& enabled) const { return -1; }
149 141
150 int32_t AudioDeviceDummy::MicrophoneBoostIsAvailable(bool& available) {
151 return -1;
152 }
153
154 int32_t AudioDeviceDummy::SetMicrophoneBoost(bool enable) { return -1; }
155
156 int32_t AudioDeviceDummy::MicrophoneBoost(bool& enabled) const { return -1; }
157
158 int32_t AudioDeviceDummy::StereoPlayoutIsAvailable(bool& available) { 142 int32_t AudioDeviceDummy::StereoPlayoutIsAvailable(bool& available) {
159 return -1; 143 return -1;
160 } 144 }
161 int32_t AudioDeviceDummy::SetStereoPlayout(bool enable) { return -1; } 145 int32_t AudioDeviceDummy::SetStereoPlayout(bool enable) { return -1; }
162 146
163 int32_t AudioDeviceDummy::StereoPlayout(bool& enabled) const { return -1; } 147 int32_t AudioDeviceDummy::StereoPlayout(bool& enabled) const { return -1; }
164 148
165 int32_t AudioDeviceDummy::StereoRecordingIsAvailable(bool& available) { 149 int32_t AudioDeviceDummy::StereoRecordingIsAvailable(bool& available) {
166 return -1; 150 return -1;
167 } 151 }
168 152
169 int32_t AudioDeviceDummy::SetStereoRecording(bool enable) { return -1; } 153 int32_t AudioDeviceDummy::SetStereoRecording(bool enable) { return -1; }
170 154
171 int32_t AudioDeviceDummy::StereoRecording(bool& enabled) const { return -1; } 155 int32_t AudioDeviceDummy::StereoRecording(bool& enabled) const { return -1; }
172 156
173 int32_t AudioDeviceDummy::SetPlayoutBuffer(
174 const AudioDeviceModule::BufferType type,
175 uint16_t sizeMS) {
176 return -1;
177 }
178
179 int32_t AudioDeviceDummy::PlayoutBuffer(AudioDeviceModule::BufferType& type,
180 uint16_t& sizeMS) const {
181 return -1;
182 }
183
184 int32_t AudioDeviceDummy::PlayoutDelay(uint16_t& delayMS) const { return -1; } 157 int32_t AudioDeviceDummy::PlayoutDelay(uint16_t& delayMS) const { return -1; }
185 158
186 int32_t AudioDeviceDummy::RecordingDelay(uint16_t& delayMS) const { return -1; } 159 int32_t AudioDeviceDummy::RecordingDelay(uint16_t& delayMS) const { return -1; }
187 160
188 int32_t AudioDeviceDummy::CPULoad(uint16_t& load) const { return -1; }
189
190 bool AudioDeviceDummy::PlayoutWarning() const { return false; } 161 bool AudioDeviceDummy::PlayoutWarning() const { return false; }
191 162
192 bool AudioDeviceDummy::PlayoutError() const { return false; } 163 bool AudioDeviceDummy::PlayoutError() const { return false; }
193 164
194 bool AudioDeviceDummy::RecordingWarning() const { return false; } 165 bool AudioDeviceDummy::RecordingWarning() const { return false; }
195 166
196 bool AudioDeviceDummy::RecordingError() const { return false; } 167 bool AudioDeviceDummy::RecordingError() const { return false; }
197 168
198 void AudioDeviceDummy::ClearPlayoutWarning() {} 169 void AudioDeviceDummy::ClearPlayoutWarning() {}
199 170
200 void AudioDeviceDummy::ClearPlayoutError() {} 171 void AudioDeviceDummy::ClearPlayoutError() {}
201 172
202 void AudioDeviceDummy::ClearRecordingWarning() {} 173 void AudioDeviceDummy::ClearRecordingWarning() {}
203 174
204 void AudioDeviceDummy::ClearRecordingError() {} 175 void AudioDeviceDummy::ClearRecordingError() {}
205 176
206 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} 177 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {}
207 } // namespace webrtc 178 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/dummy/audio_device_dummy.h ('k') | webrtc/modules/audio_device/dummy/file_audio_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698