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

Side by Side Diff: webrtc/modules/audio_device/audio_device_impl.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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 int32_t GetLoudspeakerStatus(bool* enabled) const override; 185 int32_t GetLoudspeakerStatus(bool* enabled) const override;
186 186
187 bool BuiltInAECIsEnabled() const override; 187 bool BuiltInAECIsEnabled() const override;
188 bool BuiltInAECIsAvailable() const override; 188 bool BuiltInAECIsAvailable() const override;
189 int32_t EnableBuiltInAEC(bool enable) override; 189 int32_t EnableBuiltInAEC(bool enable) override;
190 bool BuiltInAGCIsAvailable() const override; 190 bool BuiltInAGCIsAvailable() const override;
191 int32_t EnableBuiltInAGC(bool enable) override; 191 int32_t EnableBuiltInAGC(bool enable) override;
192 bool BuiltInNSIsAvailable() const override; 192 bool BuiltInNSIsAvailable() const override;
193 int32_t EnableBuiltInNS(bool enable) override; 193 int32_t EnableBuiltInNS(bool enable) override;
194 194
195 bool IntelligibilityIsEnabled() const override;
196
195 int GetPlayoutAudioParameters(AudioParameters* params) const override; 197 int GetPlayoutAudioParameters(AudioParameters* params) const override;
196 int GetRecordAudioParameters(AudioParameters* params) const override; 198 int GetRecordAudioParameters(AudioParameters* params) const override;
197 199
198 int32_t Id() { return _id; } 200 int32_t Id() { return _id; }
199 #if defined(WEBRTC_ANDROID) 201 #if defined(WEBRTC_ANDROID)
200 // Only use this acccessor for test purposes on Android. 202 // Only use this acccessor for test purposes on Android.
201 AudioManager* GetAndroidAudioManagerForTest() { 203 AudioManager* GetAndroidAudioManagerForTest() {
202 return _audioManagerAndroid.get(); 204 return _audioManagerAndroid.get();
203 } 205 }
204 #endif 206 #endif
(...skipping 21 matching lines...) Expand all
226 PlatformType _platformType; 228 PlatformType _platformType;
227 bool _initialized; 229 bool _initialized;
228 mutable ErrorCode _lastError; 230 mutable ErrorCode _lastError;
229 }; 231 };
230 232
231 } // namespace webrtc 233 } // namespace webrtc
232 234
233 #endif // defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE) 235 #endif // defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE)
234 236
235 #endif // WEBRTC_MODULES_INTERFACE_AUDIO_DEVICE_IMPL_H_ 237 #endif // WEBRTC_MODULES_INTERFACE_AUDIO_DEVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698