| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 virtual bool BuiltInNSIsAvailable() const { return false; } | 191 virtual bool BuiltInNSIsAvailable() const { return false; } |
| 192 | 192 |
| 193 // Enables the built-in audio effects. Only supported on Android. | 193 // Enables the built-in audio effects. Only supported on Android. |
| 194 // TODO(henrika): Make pure virtual after updating Chromium. | 194 // TODO(henrika): Make pure virtual after updating Chromium. |
| 195 virtual int32_t EnableBuiltInAEC(bool enable) { return -1; } | 195 virtual int32_t EnableBuiltInAEC(bool enable) { return -1; } |
| 196 virtual int32_t EnableBuiltInAGC(bool enable) { return -1; } | 196 virtual int32_t EnableBuiltInAGC(bool enable) { return -1; } |
| 197 virtual int32_t EnableBuiltInNS(bool enable) { return -1; } | 197 virtual int32_t EnableBuiltInNS(bool enable) { return -1; } |
| 198 // Don't use. | 198 // Don't use. |
| 199 virtual bool BuiltInAECIsEnabled() const { return false; } | 199 virtual bool BuiltInAECIsEnabled() const { return false; } |
| 200 | 200 |
| 201 virtual bool IntelligibilityIsEnabled() const { return false; } |
| 202 |
| 201 // Only supported on iOS. | 203 // Only supported on iOS. |
| 202 // TODO(henrika): Make pure virtual after updating Chromium. | 204 // TODO(henrika): Make pure virtual after updating Chromium. |
| 203 virtual int GetPlayoutAudioParameters(AudioParameters* params) const { | 205 virtual int GetPlayoutAudioParameters(AudioParameters* params) const { |
| 204 return -1; | 206 return -1; |
| 205 } | 207 } |
| 206 virtual int GetRecordAudioParameters(AudioParameters* params) const { | 208 virtual int GetRecordAudioParameters(AudioParameters* params) const { |
| 207 return -1; | 209 return -1; |
| 208 } | 210 } |
| 209 | 211 |
| 210 protected: | 212 protected: |
| 211 virtual ~AudioDeviceModule() {} | 213 virtual ~AudioDeviceModule() {} |
| 212 }; | 214 }; |
| 213 | 215 |
| 214 } // namespace webrtc | 216 } // namespace webrtc |
| 215 | 217 |
| 216 #endif // MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ | 218 #endif // MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ |
| OLD | NEW |