| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 void* WebRtcAec_far_time_buf(AecCore* self); | 96 void* WebRtcAec_far_time_buf(AecCore* self); |
| 97 #endif | 97 #endif |
| 98 | 98 |
| 99 // Sets local configuration modes. | 99 // Sets local configuration modes. |
| 100 void WebRtcAec_SetConfigCore(AecCore* self, | 100 void WebRtcAec_SetConfigCore(AecCore* self, |
| 101 int nlp_mode, | 101 int nlp_mode, |
| 102 int metrics_mode, | 102 int metrics_mode, |
| 103 int delay_logging); | 103 int delay_logging); |
| 104 | 104 |
| 105 // Non-zero enables, zero disables. | 105 // Non-zero enables, zero disables. |
| 106 void WebRtcAec_enable_reported_delay(AecCore* self, int enable); | 106 void WebRtcAec_enable_delay_agnostic(AecCore* self, int enable); |
| 107 | 107 |
| 108 // Returns non-zero if reported delay is enabled and zero if disabled. | 108 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is |
| 109 int WebRtcAec_reported_delay_enabled(AecCore* self); | 109 // enabled and zero if disabled. |
| 110 int WebRtcAec_delay_agnostic_enabled(AecCore* self); |
| 110 | 111 |
| 111 // Enables or disables extended filter mode. Non-zero enables, zero disables. | 112 // Enables or disables extended filter mode. Non-zero enables, zero disables. |
| 112 void WebRtcAec_enable_extended_filter(AecCore* self, int enable); | 113 void WebRtcAec_enable_extended_filter(AecCore* self, int enable); |
| 113 | 114 |
| 114 // Returns non-zero if extended filter mode is enabled and zero if disabled. | 115 // Returns non-zero if extended filter mode is enabled and zero if disabled. |
| 115 int WebRtcAec_extended_filter_enabled(AecCore* self); | 116 int WebRtcAec_extended_filter_enabled(AecCore* self); |
| 116 | 117 |
| 117 // Returns the current |system_delay|, i.e., the buffered difference between | 118 // Returns the current |system_delay|, i.e., the buffered difference between |
| 118 // far-end and near-end. | 119 // far-end and near-end. |
| 119 int WebRtcAec_system_delay(AecCore* self); | 120 int WebRtcAec_system_delay(AecCore* self); |
| 120 | 121 |
| 121 // Sets the |system_delay| to |value|. Note that if the value is changed | 122 // Sets the |system_delay| to |value|. Note that if the value is changed |
| 122 // improperly, there can be a performance regression. So it should be used with | 123 // improperly, there can be a performance regression. So it should be used with |
| 123 // care. | 124 // care. |
| 124 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); | 125 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); |
| 125 | 126 |
| 126 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ | 127 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ |
| OLD | NEW |