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

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

Issue 1700703005: Boilerplate code addition in order to be able to test upcoming AEC additions (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge from master Created 4 years, 10 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
« no previous file with comments | « webrtc/common.h ('k') | webrtc/modules/audio_processing/aec/aec_core.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 int metrics_mode, 104 int metrics_mode,
105 int delay_logging); 105 int delay_logging);
106 106
107 // Non-zero enables, zero disables. 107 // Non-zero enables, zero disables.
108 void WebRtcAec_enable_delay_agnostic(AecCore* self, int enable); 108 void WebRtcAec_enable_delay_agnostic(AecCore* self, int enable);
109 109
110 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is 110 // Returns non-zero if delay agnostic (i.e., signal based delay estimation) is
111 // enabled and zero if disabled. 111 // enabled and zero if disabled.
112 int WebRtcAec_delay_agnostic_enabled(AecCore* self); 112 int WebRtcAec_delay_agnostic_enabled(AecCore* self);
113 113
114 // Non-zero enables, zero disables.
115 void WebRtcAec_enable_next_generation_aec(AecCore* self, int enable);
116
117 // Returns 1 if the next generation aec is enabled and zero if disabled.
118 int WebRtcAec_next_generation_aec_enabled(AecCore* self);
119
114 // Enables or disables extended filter mode. Non-zero enables, zero disables. 120 // Enables or disables extended filter mode. Non-zero enables, zero disables.
115 void WebRtcAec_enable_extended_filter(AecCore* self, int enable); 121 void WebRtcAec_enable_extended_filter(AecCore* self, int enable);
116 122
117 // Returns non-zero if extended filter mode is enabled and zero if disabled. 123 // Returns non-zero if extended filter mode is enabled and zero if disabled.
118 int WebRtcAec_extended_filter_enabled(AecCore* self); 124 int WebRtcAec_extended_filter_enabled(AecCore* self);
119 125
120 // Returns the current |system_delay|, i.e., the buffered difference between 126 // Returns the current |system_delay|, i.e., the buffered difference between
121 // far-end and near-end. 127 // far-end and near-end.
122 int WebRtcAec_system_delay(AecCore* self); 128 int WebRtcAec_system_delay(AecCore* self);
123 129
124 // Sets the |system_delay| to |value|. Note that if the value is changed 130 // Sets the |system_delay| to |value|. Note that if the value is changed
125 // improperly, there can be a performance regression. So it should be used with 131 // improperly, there can be a performance regression. So it should be used with
126 // care. 132 // care.
127 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); 133 void WebRtcAec_SetSystemDelay(AecCore* self, int delay);
128 134
129 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ 135 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_
OLDNEW
« no previous file with comments | « webrtc/common.h ('k') | webrtc/modules/audio_processing/aec/aec_core.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698