Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_core.h

Issue 1887003002: Added support in the AEC for refined filter adaptation. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added experiment string for the refined adaptive filter experiment in the aecdump Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is 113 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is
114 // enabled and zero if disabled. 114 // enabled and zero if disabled.
115 int WebRtcAec_delay_agnostic_enabled(AecCore* self); 115 int WebRtcAec_delay_agnostic_enabled(AecCore* self);
116 116
117 // Non-zero enables, zero disables. 117 // Non-zero enables, zero disables.
118 void WebRtcAec_enable_aec3(AecCore* self, int enable); 118 void WebRtcAec_enable_aec3(AecCore* self, int enable);
119 119
120 // Returns 1 if the next generation aec is enabled and zero if disabled. 120 // Returns 1 if the next generation aec is enabled and zero if disabled.
121 int WebRtcAec_aec3_enabled(AecCore* self); 121 int WebRtcAec_aec3_enabled(AecCore* self);
122 122
123 // Turns on/off the refined adaptive filter feature.
124 void WebRtcAec_enable_refined_adaptive_filter(AecCore* self, bool enable);
125
126 // Returns whether the refined adaptive filter is enabled.
127 bool WebRtcAec_refined_adaptive_filter(const AecCore* self);
128
123 // Enables or disables extended filter mode. Non-zero enables, zero disables. 129 // Enables or disables extended filter mode. Non-zero enables, zero disables.
124 void WebRtcAec_enable_extended_filter(AecCore* self, int enable); 130 void WebRtcAec_enable_extended_filter(AecCore* self, int enable);
125 131
126 // Returns non-zero if extended filter mode is enabled and zero if disabled. 132 // Returns non-zero if extended filter mode is enabled and zero if disabled.
127 int WebRtcAec_extended_filter_enabled(AecCore* self); 133 int WebRtcAec_extended_filter_enabled(AecCore* self);
128 134
129 // Returns the current |system_delay|, i.e., the buffered difference between 135 // Returns the current |system_delay|, i.e., the buffered difference between
130 // far-end and near-end. 136 // far-end and near-end.
131 int WebRtcAec_system_delay(AecCore* self); 137 int WebRtcAec_system_delay(AecCore* self);
132 138
133 // Sets the |system_delay| to |value|. Note that if the value is changed 139 // Sets the |system_delay| to |value|. Note that if the value is changed
134 // improperly, there can be a performance regression. So it should be used with 140 // improperly, there can be a performance regression. So it should be used with
135 // care. 141 // care.
136 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); 142 void WebRtcAec_SetSystemDelay(AecCore* self, int delay);
137 143
138 } // namespace webrtc 144 } // namespace webrtc
139 145
140 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ 146 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698