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

Side by Side Diff: webrtc/modules/audio_device/audio_device_generic.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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 16 matching lines...) Expand all
27 int32_t AudioDeviceGeneric::SetLoudspeakerStatus(bool enable) { 27 int32_t AudioDeviceGeneric::SetLoudspeakerStatus(bool enable) {
28 LOG_F(LS_ERROR) << "Not supported on this platform"; 28 LOG_F(LS_ERROR) << "Not supported on this platform";
29 return -1; 29 return -1;
30 } 30 }
31 31
32 int32_t AudioDeviceGeneric::GetLoudspeakerStatus(bool& enable) const { 32 int32_t AudioDeviceGeneric::GetLoudspeakerStatus(bool& enable) const {
33 LOG_F(LS_ERROR) << "Not supported on this platform"; 33 LOG_F(LS_ERROR) << "Not supported on this platform";
34 return -1; 34 return -1;
35 } 35 }
36 36
37 int32_t AudioDeviceGeneric::ResetAudioDevice() {
38 LOG_F(LS_ERROR) << "Not supported on this platform";
39 return -1;
40 }
41
42 int32_t AudioDeviceGeneric::SoundDeviceControl(unsigned int par1,
43 unsigned int par2,
44 unsigned int par3,
45 unsigned int par4) {
46 LOG_F(LS_ERROR) << "Not supported on this platform";
47 return -1;
48 }
49
50 bool AudioDeviceGeneric::BuiltInAECIsAvailable() const { 37 bool AudioDeviceGeneric::BuiltInAECIsAvailable() const {
51 LOG_F(LS_ERROR) << "Not supported on this platform"; 38 LOG_F(LS_ERROR) << "Not supported on this platform";
52 return false; 39 return false;
53 } 40 }
54 41
55 int32_t AudioDeviceGeneric::EnableBuiltInAEC(bool enable) { 42 int32_t AudioDeviceGeneric::EnableBuiltInAEC(bool enable) {
56 LOG_F(LS_ERROR) << "Not supported on this platform"; 43 LOG_F(LS_ERROR) << "Not supported on this platform";
57 return -1; 44 return -1;
58 } 45 }
59 46
(...skipping 25 matching lines...) Expand all
85 } 72 }
86 73
87 int AudioDeviceGeneric::GetRecordAudioParameters( 74 int AudioDeviceGeneric::GetRecordAudioParameters(
88 AudioParameters* params) const { 75 AudioParameters* params) const {
89 LOG_F(LS_ERROR) << "Not supported on this platform"; 76 LOG_F(LS_ERROR) << "Not supported on this platform";
90 return -1; 77 return -1;
91 } 78 }
92 #endif // WEBRTC_IOS 79 #endif // WEBRTC_IOS
93 80
94 } // namespace webrtc 81 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device_generic.h ('k') | webrtc/modules/audio_device/audio_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698