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

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

Issue 3020493002: Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
Patch Set: linux build error Created 3 years, 2 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 int32_t AudioDeviceDummy::SetStereoRecording(bool enable) { return -1; } 153 int32_t AudioDeviceDummy::SetStereoRecording(bool enable) { return -1; }
154 154
155 int32_t AudioDeviceDummy::StereoRecording(bool& enabled) const { return -1; } 155 int32_t AudioDeviceDummy::StereoRecording(bool& enabled) const { return -1; }
156 156
157 int32_t AudioDeviceDummy::PlayoutDelay(uint16_t& delayMS) const { return -1; } 157 int32_t AudioDeviceDummy::PlayoutDelay(uint16_t& delayMS) const { return -1; }
158 158
159 int32_t AudioDeviceDummy::RecordingDelay(uint16_t& delayMS) const { return -1; } 159 int32_t AudioDeviceDummy::RecordingDelay(uint16_t& delayMS) const { return -1; }
160 160
161 bool AudioDeviceDummy::PlayoutWarning() const { return false; }
162
163 bool AudioDeviceDummy::PlayoutError() const { return false; }
164
165 bool AudioDeviceDummy::RecordingWarning() const { return false; }
166
167 bool AudioDeviceDummy::RecordingError() const { return false; }
168
169 void AudioDeviceDummy::ClearPlayoutWarning() {}
170
171 void AudioDeviceDummy::ClearPlayoutError() {}
172
173 void AudioDeviceDummy::ClearRecordingWarning() {}
174
175 void AudioDeviceDummy::ClearRecordingError() {}
176
177 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} 161 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {}
178 } // namespace webrtc 162 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698