OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 void* delay_estimator; | 137 void* delay_estimator; |
138 // Variables associated with delay correction through signal based delay | 138 // Variables associated with delay correction through signal based delay |
139 // estimation feedback. | 139 // estimation feedback. |
140 int signal_delay_correction; | 140 int signal_delay_correction; |
141 int previous_delay; | 141 int previous_delay; |
142 int delay_correction_count; | 142 int delay_correction_count; |
143 int shift_offset; | 143 int shift_offset; |
144 float delay_quality_threshold; | 144 float delay_quality_threshold; |
145 int frame_count; | 145 int frame_count; |
146 | 146 |
147 // 0 = reported delay mode disabled (signal based delay correction enabled). | 147 // 0 = delay agnostic mode (signal based delay correction) disabled. |
148 // otherwise enabled | 148 // Otherwise enabled. |
149 int reported_delay_enabled; | 149 int delay_agnostic_enabled; |
tommi
2015/07/01 14:00:45
why do we use int for these?
(e.g. why not int foo
hlundin-webrtc
2015/07/02 06:36:30
Because... legacy. And for the record, int foo:1 i
tommi
2015/07/08 13:44:43
Well, -1 is true, so is 0xffff and 0xffffffff. (s
kwiberg-webrtc
2015/07/08 14:47:59
I hope you won't find a compiler where this isn't
| |
150 // 1 = extended filter mode enabled, 0 = disabled. | 150 // 1 = extended filter mode enabled, 0 = disabled. |
151 int extended_filter_enabled; | 151 int extended_filter_enabled; |
152 // Runtime selection of number of filter partitions. | 152 // Runtime selection of number of filter partitions. |
153 int num_partitions; | 153 int num_partitions; |
154 | 154 |
155 #ifdef WEBRTC_AEC_DEBUG_DUMP | 155 #ifdef WEBRTC_AEC_DEBUG_DUMP |
156 // Sequence number of this AEC instance, so that different instances can | 156 // Sequence number of this AEC instance, so that different instances can |
157 // choose different dump file names. | 157 // choose different dump file names. |
158 int instance_index; | 158 int instance_index; |
159 | 159 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 | 192 |
193 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, | 193 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, |
194 float efw[2][PART_LEN1], | 194 float efw[2][PART_LEN1], |
195 float xfw[2][PART_LEN1], | 195 float xfw[2][PART_LEN1], |
196 float* fft, | 196 float* fft, |
197 float* cohde, | 197 float* cohde, |
198 float* cohxd); | 198 float* cohxd); |
199 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; | 199 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; |
200 | 200 |
201 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 201 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
OLD | NEW |