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

Side by Side Diff: modules/audio_device/ios/audio_device_not_implemented_ios.mm

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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 int32_t AudioDeviceIOS::SetPlayoutDevice(uint16_t index) { 84 int32_t AudioDeviceIOS::SetPlayoutDevice(uint16_t index) {
85 LOG_F(LS_WARNING) << "Not implemented"; 85 LOG_F(LS_WARNING) << "Not implemented";
86 return 0; 86 return 0;
87 } 87 }
88 88
89 int32_t AudioDeviceIOS::SetPlayoutDevice(AudioDeviceModule::WindowsDeviceType) { 89 int32_t AudioDeviceIOS::SetPlayoutDevice(AudioDeviceModule::WindowsDeviceType) {
90 RTC_NOTREACHED() << "Not implemented"; 90 RTC_NOTREACHED() << "Not implemented";
91 return -1; 91 return -1;
92 } 92 }
93 93
94 bool AudioDeviceIOS::PlayoutWarning() const {
95 return false;
96 }
97
98 bool AudioDeviceIOS::PlayoutError() const {
99 return false;
100 }
101
102 bool AudioDeviceIOS::RecordingWarning() const {
103 return false;
104 }
105
106 bool AudioDeviceIOS::RecordingError() const {
107 return false;
108 }
109
110 int32_t AudioDeviceIOS::InitMicrophone() { 94 int32_t AudioDeviceIOS::InitMicrophone() {
111 return 0; 95 return 0;
112 } 96 }
113 97
114 bool AudioDeviceIOS::MicrophoneIsInitialized() const { 98 bool AudioDeviceIOS::MicrophoneIsInitialized() const {
115 return true; 99 return true;
116 } 100 }
117 101
118 int32_t AudioDeviceIOS::MicrophoneMuteIsAvailable(bool& available) { 102 int32_t AudioDeviceIOS::MicrophoneMuteIsAvailable(bool& available) {
119 available = false; 103 available = false;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 available = true; 209 available = true;
226 return 0; 210 return 0;
227 } 211 }
228 212
229 int32_t AudioDeviceIOS::RecordingIsAvailable(bool& available) { 213 int32_t AudioDeviceIOS::RecordingIsAvailable(bool& available) {
230 available = true; 214 available = true;
231 return 0; 215 return 0;
232 } 216 }
233 217
234 } // namespace webrtc 218 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698