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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 struct Erle { | 272 struct Erle { |
273 float min = 1.f; | 273 float min = 1.f; |
274 float max_l = 8.f; | 274 float max_l = 8.f; |
275 float max_h = 1.5f; | 275 float max_h = 1.5f; |
276 } erle; | 276 } erle; |
277 | 277 |
278 struct EpStrength { | 278 struct EpStrength { |
279 float lf = 100.f; | 279 float lf = 100.f; |
280 float mf = 1000.f; | 280 float mf = 1000.f; |
281 float hf = 5000.f; | 281 float hf = 5000.f; |
282 float default_len = 0.7f; | 282 float default_len = 0.f; |
283 } ep_strength; | 283 } ep_strength; |
284 | 284 |
285 struct Mask { | 285 struct Mask { |
286 float m1 = 0.01f; | 286 float m1 = 0.01f; |
287 float m2 = 0.001f; | 287 float m2 = 0.001f; |
288 float m3 = 0.01f; | 288 float m3 = 0.01f; |
289 float m4 = 0.1f; | 289 float m4 = 0.1f; |
290 } gain_mask; | 290 } gain_mask; |
291 | 291 |
292 struct EchoAudibility { | 292 struct EchoAudibility { |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 // This does not impact the size of frames passed to |ProcessStream()|. | 1126 // This does not impact the size of frames passed to |ProcessStream()|. |
1127 virtual int set_frame_size_ms(int size) = 0; | 1127 virtual int set_frame_size_ms(int size) = 0; |
1128 virtual int frame_size_ms() const = 0; | 1128 virtual int frame_size_ms() const = 0; |
1129 | 1129 |
1130 protected: | 1130 protected: |
1131 virtual ~VoiceDetection() {} | 1131 virtual ~VoiceDetection() {} |
1132 }; | 1132 }; |
1133 } // namespace webrtc | 1133 } // namespace webrtc |
1134 | 1134 |
1135 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ | 1135 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ |
OLD | NEW |