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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 int average; | 44 int average; |
45 int max; | 45 int max; |
46 int min; | 46 int min; |
47 } AecLevel; | 47 } AecLevel; |
48 | 48 |
49 typedef struct { | 49 typedef struct { |
50 AecLevel rerl; | 50 AecLevel rerl; |
51 AecLevel erl; | 51 AecLevel erl; |
52 AecLevel erle; | 52 AecLevel erle; |
53 AecLevel aNlp; | 53 AecLevel aNlp; |
| 54 float divergent_filter_fraction; |
54 } AecMetrics; | 55 } AecMetrics; |
55 | 56 |
56 struct AecCore; | 57 struct AecCore; |
57 | 58 |
58 /* | 59 /* |
59 * Allocates the memory needed by the AEC. The memory needs to be initialized | 60 * Allocates the memory needed by the AEC. The memory needs to be initialized |
60 * separately using the WebRtcAec_Init() function. Returns a pointer to the | 61 * separately using the WebRtcAec_Init() function. Returns a pointer to the |
61 * object or NULL on error. | 62 * object or NULL on error. |
62 */ | 63 */ |
63 void* WebRtcAec_Create(); | 64 void* WebRtcAec_Create(); |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // - handle : Pointer to the AEC instance. | 233 // - handle : Pointer to the AEC instance. |
233 // | 234 // |
234 // Return value: | 235 // Return value: |
235 // - AecCore pointer : NULL for error. | 236 // - AecCore pointer : NULL for error. |
236 // | 237 // |
237 struct AecCore* WebRtcAec_aec_core(void* handle); | 238 struct AecCore* WebRtcAec_aec_core(void* handle); |
238 | 239 |
239 } // namespace webrtc | 240 } // namespace webrtc |
240 | 241 |
241 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_H_ | 242 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_H_ |
OLD | NEW |