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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 int* std, | 88 int* std, |
89 float* fraction_poor_delays); | 89 float* fraction_poor_delays); |
90 | 90 |
91 // Returns the echo state (1: echo, 0: no echo). | 91 // Returns the echo state (1: echo, 0: no echo). |
92 int WebRtcAec_echo_state(AecCore* self); | 92 int WebRtcAec_echo_state(AecCore* self); |
93 | 93 |
94 // Gets statistics of the echo metrics ERL, ERLE, A_NLP. | 94 // Gets statistics of the echo metrics ERL, ERLE, A_NLP. |
95 void WebRtcAec_GetEchoStats(AecCore* self, | 95 void WebRtcAec_GetEchoStats(AecCore* self, |
96 Stats* erl, | 96 Stats* erl, |
97 Stats* erle, | 97 Stats* erle, |
98 Stats* a_nlp); | 98 Stats* a_nlp, |
| 99 float* divergent_filter_fraction); |
99 #ifdef WEBRTC_AEC_DEBUG_DUMP | 100 #ifdef WEBRTC_AEC_DEBUG_DUMP |
100 void* WebRtcAec_far_time_buf(AecCore* self); | 101 void* WebRtcAec_far_time_buf(AecCore* self); |
101 #endif | 102 #endif |
102 | 103 |
103 // Sets local configuration modes. | 104 // Sets local configuration modes. |
104 void WebRtcAec_SetConfigCore(AecCore* self, | 105 void WebRtcAec_SetConfigCore(AecCore* self, |
105 int nlp_mode, | 106 int nlp_mode, |
106 int metrics_mode, | 107 int metrics_mode, |
107 int delay_logging); | 108 int delay_logging); |
108 | 109 |
(...skipping 21 matching lines...) Expand all Loading... |
130 int WebRtcAec_system_delay(AecCore* self); | 131 int WebRtcAec_system_delay(AecCore* self); |
131 | 132 |
132 // Sets the |system_delay| to |value|. Note that if the value is changed | 133 // Sets the |system_delay| to |value|. Note that if the value is changed |
133 // improperly, there can be a performance regression. So it should be used with | 134 // improperly, there can be a performance regression. So it should be used with |
134 // care. | 135 // care. |
135 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); | 136 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); |
136 | 137 |
137 } // namespace webrtc | 138 } // namespace webrtc |
138 | 139 |
139 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ | 140 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ |
OLD | NEW |