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

Side by Side Diff: webrtc/modules/audio_device/audio_device_generic.h

Issue 1952123003: Surface the IntelligibilityEnhancer on MediaConstraints (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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) 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual bool BuiltInNSIsAvailable() const; 150 virtual bool BuiltInNSIsAvailable() const;
151 151
152 // Windows Core Audio and Android only. 152 // Windows Core Audio and Android only.
153 virtual int32_t EnableBuiltInAEC(bool enable); 153 virtual int32_t EnableBuiltInAEC(bool enable);
154 virtual int32_t EnableBuiltInAGC(bool enable); 154 virtual int32_t EnableBuiltInAGC(bool enable);
155 virtual int32_t EnableBuiltInNS(bool enable); 155 virtual int32_t EnableBuiltInNS(bool enable);
156 156
157 // Windows Core Audio only. 157 // Windows Core Audio only.
158 virtual bool BuiltInAECIsEnabled() const; 158 virtual bool BuiltInAECIsEnabled() const;
159 159
160 virtual bool IntelligibilityIsEnabled() const;
161
160 // iOS only. 162 // iOS only.
161 // TODO(henrika): add Android support. 163 // TODO(henrika): add Android support.
162 virtual int GetPlayoutAudioParameters(AudioParameters* params) const; 164 virtual int GetPlayoutAudioParameters(AudioParameters* params) const;
163 virtual int GetRecordAudioParameters(AudioParameters* params) const; 165 virtual int GetRecordAudioParameters(AudioParameters* params) const;
164 166
165 virtual bool PlayoutWarning() const = 0; 167 virtual bool PlayoutWarning() const = 0;
166 virtual bool PlayoutError() const = 0; 168 virtual bool PlayoutError() const = 0;
167 virtual bool RecordingWarning() const = 0; 169 virtual bool RecordingWarning() const = 0;
168 virtual bool RecordingError() const = 0; 170 virtual bool RecordingError() const = 0;
169 virtual void ClearPlayoutWarning() = 0; 171 virtual void ClearPlayoutWarning() = 0;
170 virtual void ClearPlayoutError() = 0; 172 virtual void ClearPlayoutError() = 0;
171 virtual void ClearRecordingWarning() = 0; 173 virtual void ClearRecordingWarning() = 0;
172 virtual void ClearRecordingError() = 0; 174 virtual void ClearRecordingError() = 0;
173 175
174 virtual void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) = 0; 176 virtual void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) = 0;
175 177
176 virtual ~AudioDeviceGeneric() {} 178 virtual ~AudioDeviceGeneric() {}
177 }; 179 };
178 180
179 } // namespace webrtc 181 } // namespace webrtc
180 182
181 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_GENERIC_H 183 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_GENERIC_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698