OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 virtual int32_t EnableBuiltInAGC(bool enable); | 135 virtual int32_t EnableBuiltInAGC(bool enable); |
136 virtual int32_t EnableBuiltInNS(bool enable); | 136 virtual int32_t EnableBuiltInNS(bool enable); |
137 | 137 |
138 // iOS only. | 138 // iOS only. |
139 // TODO(henrika): add Android support. | 139 // TODO(henrika): add Android support. |
140 #if defined(WEBRTC_IOS) | 140 #if defined(WEBRTC_IOS) |
141 virtual int GetPlayoutAudioParameters(AudioParameters* params) const; | 141 virtual int GetPlayoutAudioParameters(AudioParameters* params) const; |
142 virtual int GetRecordAudioParameters(AudioParameters* params) const; | 142 virtual int GetRecordAudioParameters(AudioParameters* params) const; |
143 #endif // WEBRTC_IOS | 143 #endif // WEBRTC_IOS |
144 | 144 |
145 virtual bool PlayoutWarning() const = 0; | |
146 virtual bool PlayoutError() const = 0; | |
147 virtual bool RecordingWarning() const = 0; | |
148 virtual bool RecordingError() const = 0; | |
149 virtual void ClearPlayoutWarning() = 0; | |
150 virtual void ClearPlayoutError() = 0; | |
151 virtual void ClearRecordingWarning() = 0; | |
152 virtual void ClearRecordingError() = 0; | |
153 | |
154 virtual void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) = 0; | 145 virtual void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) = 0; |
155 | 146 |
156 virtual ~AudioDeviceGeneric() {} | 147 virtual ~AudioDeviceGeneric() {} |
157 }; | 148 }; |
158 | 149 |
159 } // namespace webrtc | 150 } // namespace webrtc |
160 | 151 |
161 #endif // AUDIO_DEVICE_AUDIO_DEVICE_GENERIC_H_ | 152 #endif // AUDIO_DEVICE_AUDIO_DEVICE_GENERIC_H_ |
OLD | NEW |