| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 struct HighPassFilter { | 261 struct HighPassFilter { |
| 262 bool enabled = false; | 262 bool enabled = false; |
| 263 } high_pass_filter; | 263 } high_pass_filter; |
| 264 | 264 |
| 265 // Enables the next generation AEC functionality. This feature replaces the | 265 // Enables the next generation AEC functionality. This feature replaces the |
| 266 // standard methods for echo removal in the AEC. | 266 // standard methods for echo removal in the AEC. |
| 267 // The functionality is not yet activated in the code and turning this on | 267 // The functionality is not yet activated in the code and turning this on |
| 268 // does not yet have the desired behavior. | 268 // does not yet have the desired behavior. |
| 269 struct EchoCanceller3 { | 269 struct EchoCanceller3 { |
| 270 bool enabled = false; | 270 bool enabled = false; |
| 271 float echo_decay = 0.f; |
| 271 } echo_canceller3; | 272 } echo_canceller3; |
| 272 | 273 |
| 273 // Enables the next generation AGC functionality. This feature replaces the | 274 // Enables the next generation AGC functionality. This feature replaces the |
| 274 // standard methods of gain control in the previous AGC. | 275 // standard methods of gain control in the previous AGC. |
| 275 // The functionality is not yet activated in the code and turning this on | 276 // The functionality is not yet activated in the code and turning this on |
| 276 // does not yet have the desired behavior. | 277 // does not yet have the desired behavior. |
| 277 struct GainController2 { | 278 struct GainController2 { |
| 278 bool enabled = false; | 279 bool enabled = false; |
| 279 } gain_controller2; | 280 } gain_controller2; |
| 280 }; | 281 }; |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 // This does not impact the size of frames passed to |ProcessStream()|. | 1099 // This does not impact the size of frames passed to |ProcessStream()|. |
| 1099 virtual int set_frame_size_ms(int size) = 0; | 1100 virtual int set_frame_size_ms(int size) = 0; |
| 1100 virtual int frame_size_ms() const = 0; | 1101 virtual int frame_size_ms() const = 0; |
| 1101 | 1102 |
| 1102 protected: | 1103 protected: |
| 1103 virtual ~VoiceDetection() {} | 1104 virtual ~VoiceDetection() {} |
| 1104 }; | 1105 }; |
| 1105 } // namespace webrtc | 1106 } // namespace webrtc |
| 1106 | 1107 |
| 1107 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ | 1108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ |
| OLD | NEW |