AEC refactoring: Moved typedefs to _internal.h

* This was actually part of r3553
* Tested with audioproc_unittest, trybots

TBR=andrew@webrtc.org
TEST=none
BUG=none

Review URL: https://webrtc-codereview.appspot.com/1118005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3556 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
bjornv@webrtc.org 2013-02-21 16:12:24 +00:00
parent 7a7a008031
commit 60f83131e4
2 changed files with 8 additions and 9 deletions

View File

@ -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);

View File

@ -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_