diff --git a/webrtc/modules/audio_processing/aec/aec_core.h b/webrtc/modules/audio_processing/aec/aec_core.h index 9ac98a1c70..ae736113f4 100644 --- a/webrtc/modules/audio_processing/aec/aec_core.h +++ b/webrtc/modules/audio_processing/aec/aec_core.h @@ -55,15 +55,6 @@ typedef struct Stats { typedef struct AecCore AecCore; -typedef void (*WebRtcAec_FilterFar_t)(AecCore* aec, float yf[2][PART_LEN1]); -typedef void (*WebRtcAec_ScaleErrorSignal_t) - (AecCore* aec, float ef[2][PART_LEN1]); -typedef void (*WebRtcAec_FilterAdaptation_t) - (AecCore* aec, float *fft, float ef[2][PART_LEN1]); -typedef void (*WebRtcAec_OverdriveAndSuppress_t) - (AecCore* aec, float hNl[PART_LEN1], const float hNlFb, - float efw[2][PART_LEN1]); - int WebRtcAec_CreateAec(AecCore** aec); int WebRtcAec_FreeAec(AecCore* aec); int WebRtcAec_InitAec(AecCore* aec, int sampFreq); diff --git a/webrtc/modules/audio_processing/aec/aec_core_internal.h b/webrtc/modules/audio_processing/aec/aec_core_internal.h index 279fb5c5f5..382f079252 100644 --- a/webrtc/modules/audio_processing/aec/aec_core_internal.h +++ b/webrtc/modules/audio_processing/aec/aec_core_internal.h @@ -117,9 +117,17 @@ struct AecCore { #endif }; +typedef void (*WebRtcAec_FilterFar_t)(AecCore* aec, float yf[2][PART_LEN1]); extern WebRtcAec_FilterFar_t WebRtcAec_FilterFar; +typedef void (*WebRtcAec_ScaleErrorSignal_t) + (AecCore* aec, float ef[2][PART_LEN1]); extern WebRtcAec_ScaleErrorSignal_t WebRtcAec_ScaleErrorSignal; +typedef void (*WebRtcAec_FilterAdaptation_t) + (AecCore* aec, float *fft, float ef[2][PART_LEN1]); extern WebRtcAec_FilterAdaptation_t WebRtcAec_FilterAdaptation; +typedef void (*WebRtcAec_OverdriveAndSuppress_t) + (AecCore* aec, float hNl[PART_LEN1], const float hNlFb, + float efw[2][PART_LEN1]); extern WebRtcAec_OverdriveAndSuppress_t WebRtcAec_OverdriveAndSuppress; #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_