| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 int delay_histogram[kHistorySizeBlocks]; | 219 int delay_histogram[kHistorySizeBlocks]; |
| 220 int num_delay_values; | 220 int num_delay_values; |
| 221 int delay_median; | 221 int delay_median; |
| 222 int delay_std; | 222 int delay_std; |
| 223 float fraction_poor_delays; | 223 float fraction_poor_delays; |
| 224 int delay_logging_enabled; | 224 int delay_logging_enabled; |
| 225 void* delay_estimator_farend; | 225 void* delay_estimator_farend; |
| 226 void* delay_estimator; | 226 void* delay_estimator; |
| 227 // Variables associated with delay correction through signal based delay | 227 // Variables associated with delay correction through signal based delay |
| 228 // estimation feedback. | 228 // estimation feedback. |
| 229 int signal_delay_correction; | |
| 230 int previous_delay; | 229 int previous_delay; |
| 231 int delay_correction_count; | 230 int delay_correction_count; |
| 232 int shift_offset; | 231 int shift_offset; |
| 233 float delay_quality_threshold; | 232 float delay_quality_threshold; |
| 234 int frame_count; | 233 int frame_count; |
| 235 | 234 |
| 236 // 0 = delay agnostic mode (signal based delay correction) disabled. | 235 // 0 = delay agnostic mode (signal based delay correction) disabled. |
| 237 // Otherwise enabled. | 236 // Otherwise enabled. |
| 238 int delay_agnostic_enabled; | 237 int delay_agnostic_enabled; |
| 239 // 1 = extended filter mode enabled, 0 = disabled. | 238 // 1 = extended filter mode enabled, 0 = disabled. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 int WebRtcAec_system_delay(AecCore* self); | 331 int WebRtcAec_system_delay(AecCore* self); |
| 333 | 332 |
| 334 // Sets the |system_delay| to |value|. Note that if the value is changed | 333 // Sets the |system_delay| to |value|. Note that if the value is changed |
| 335 // improperly, there can be a performance regression. So it should be used with | 334 // improperly, there can be a performance regression. So it should be used with |
| 336 // care. | 335 // care. |
| 337 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); | 336 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); |
| 338 | 337 |
| 339 } // namespace webrtc | 338 } // namespace webrtc |
| 340 | 339 |
| 341 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ | 340 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ |
| OLD | NEW |