2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_INTERNAL_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_INTERNAL_H_
14 #include "webrtc/modules/audio_processing/aec/aec_core.h"
15 #include "webrtc/modules/audio_processing/utility/ring_buffer.h"
22 float sampFactor; // scSampRate / sampFreq
28 short initFlag; // indicates if AEC has been initialized
30 // Variables used for averaging far end buffer size
34 short checkBufSizeCtr;
36 // Variables used for delay shifts
38 short filtDelay; // Filtered delay estimate.
39 int timeForDelayChange;
44 #ifdef WEBRTC_AEC_DEBUG_DUMP
54 int resample; // if the skew is small enough we don't resample
58 RingBuffer* far_pre_buf; // Time domain far-end pre-buffer.
67 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_INTERNAL_H_