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

Side by Side Diff: webrtc/modules/audio_device/include/fake_audio_device.h

Issue 1703833002: Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 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 19 matching lines...) Expand all
30 virtual int32_t SetPlayoutDevice(WindowsDeviceType device) { return 0; } 30 virtual int32_t SetPlayoutDevice(WindowsDeviceType device) { return 0; }
31 virtual int32_t SetStereoPlayout(bool enable) { return 0; } 31 virtual int32_t SetStereoPlayout(bool enable) { return 0; }
32 virtual int32_t StopPlayout() { return 0; } 32 virtual int32_t StopPlayout() { return 0; }
33 virtual int32_t InitMicrophone() { return 0; } 33 virtual int32_t InitMicrophone() { return 0; }
34 virtual int32_t SetRecordingDevice(uint16_t index) { return 0; } 34 virtual int32_t SetRecordingDevice(uint16_t index) { return 0; }
35 virtual int32_t SetRecordingDevice(WindowsDeviceType device) { return 0; } 35 virtual int32_t SetRecordingDevice(WindowsDeviceType device) { return 0; }
36 virtual int32_t SetStereoRecording(bool enable) { return 0; } 36 virtual int32_t SetStereoRecording(bool enable) { return 0; }
37 virtual int32_t SetAGC(bool enable) { return 0; } 37 virtual int32_t SetAGC(bool enable) { return 0; }
38 virtual int32_t StopRecording() { return 0; } 38 virtual int32_t StopRecording() { return 0; }
39 virtual int64_t TimeUntilNextProcess() { return 0; } 39 virtual int64_t TimeUntilNextProcess() { return 0; }
40 virtual int32_t Process() { return 0; } 40 virtual void Process() {}
41 virtual int32_t Terminate() { return 0; } 41 virtual int32_t Terminate() { return 0; }
42 42
43 virtual int32_t ActiveAudioLayer(AudioLayer* audioLayer) const { return 0; } 43 virtual int32_t ActiveAudioLayer(AudioLayer* audioLayer) const { return 0; }
44 virtual ErrorCode LastError() const { return kAdmErrNone; } 44 virtual ErrorCode LastError() const { return kAdmErrNone; }
45 virtual bool Initialized() const { return true; } 45 virtual bool Initialized() const { return true; }
46 virtual int16_t PlayoutDevices() { return 0; } 46 virtual int16_t PlayoutDevices() { return 0; }
47 virtual int16_t RecordingDevices() { return 0; } 47 virtual int16_t RecordingDevices() { return 0; }
48 virtual int32_t PlayoutDeviceName(uint16_t index, 48 virtual int32_t PlayoutDeviceName(uint16_t index,
49 char name[kAdmMaxDeviceNameSize], 49 char name[kAdmMaxDeviceNameSize],
50 char guid[kAdmMaxGuidSize]) { 50 char guid[kAdmMaxGuidSize]) {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual bool BuiltInAECIsAvailable() const { return false; } 147 virtual bool BuiltInAECIsAvailable() const { return false; }
148 virtual int32_t EnableBuiltInAEC(bool enable) { return -1; } 148 virtual int32_t EnableBuiltInAEC(bool enable) { return -1; }
149 virtual bool BuiltInAECIsEnabled() const { return false; } 149 virtual bool BuiltInAECIsEnabled() const { return false; }
150 virtual bool BuiltInAGCIsAvailable() const { return false; } 150 virtual bool BuiltInAGCIsAvailable() const { return false; }
151 virtual int32_t EnableBuiltInAGC(bool enable) { return -1; } 151 virtual int32_t EnableBuiltInAGC(bool enable) { return -1; }
152 virtual bool BuiltInNSIsAvailable() const { return false; } 152 virtual bool BuiltInNSIsAvailable() const { return false; }
153 virtual int32_t EnableBuiltInNS(bool enable) { return -1; } 153 virtual int32_t EnableBuiltInNS(bool enable) { return -1; }
154 }; 154 };
155 155
156 } // namespace webrtc 156 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device_impl.cc ('k') | webrtc/modules/bitrate_controller/bitrate_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698