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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 int delay_logging); | 107 int delay_logging); |
108 | 108 |
109 // Non-zero enables, zero disables. | 109 // Non-zero enables, zero disables. |
110 void WebRtcAec_enable_delay_agnostic(AecCore* self, int enable); | 110 void WebRtcAec_enable_delay_agnostic(AecCore* self, int enable); |
111 | 111 |
112 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is | 112 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is |
113 // enabled and zero if disabled. | 113 // enabled and zero if disabled. |
114 int WebRtcAec_delay_agnostic_enabled(AecCore* self); | 114 int WebRtcAec_delay_agnostic_enabled(AecCore* self); |
115 | 115 |
116 // Non-zero enables, zero disables. | 116 // Non-zero enables, zero disables. |
117 void WebRtcAec_enable_next_generation_aec(AecCore* self, int enable); | 117 void WebRtcAec_enable_aec3(AecCore* self, int enable); |
118 | 118 |
119 // Returns 1 if the next generation aec is enabled and zero if disabled. | 119 // Returns 1 if the next generation aec is enabled and zero if disabled. |
120 int WebRtcAec_next_generation_aec_enabled(AecCore* self); | 120 int WebRtcAec_aec3_enabled(AecCore* self); |
121 | 121 |
122 // Enables or disables extended filter mode. Non-zero enables, zero disables. | 122 // Enables or disables extended filter mode. Non-zero enables, zero disables. |
123 void WebRtcAec_enable_extended_filter(AecCore* self, int enable); | 123 void WebRtcAec_enable_extended_filter(AecCore* self, int enable); |
124 | 124 |
125 // Returns non-zero if extended filter mode is enabled and zero if disabled. | 125 // Returns non-zero if extended filter mode is enabled and zero if disabled. |
126 int WebRtcAec_extended_filter_enabled(AecCore* self); | 126 int WebRtcAec_extended_filter_enabled(AecCore* self); |
127 | 127 |
128 // Returns the current |system_delay|, i.e., the buffered difference between | 128 // Returns the current |system_delay|, i.e., the buffered difference between |
129 // far-end and near-end. | 129 // far-end and near-end. |
130 int WebRtcAec_system_delay(AecCore* self); | 130 int WebRtcAec_system_delay(AecCore* self); |
131 | 131 |
132 // Sets the |system_delay| to |value|. Note that if the value is changed | 132 // 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 | 133 // improperly, there can be a performance regression. So it should be used with |
134 // care. | 134 // care. |
135 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); | 135 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); |
136 | 136 |
137 } // namespace webrtc | 137 } // namespace webrtc |
138 | 138 |
139 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ | 139 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ |
OLD | NEW |