From 2be2f694a41d8586f118d512fb3e745d2a9ef877 Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Sat, 13 Aug 2011 18:22:42 +0000 Subject: [PATCH] Remove implicit declaration warnings. Review URL: http://webrtc-codereview.appspot.com/113001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@360 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../aecm/main/source/aecm_core.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/modules/audio_processing/aecm/main/source/aecm_core.c b/src/modules/audio_processing/aecm/main/source/aecm_core.c index 8947f53fe..38ede9d7e 100644 --- a/src/modules/audio_processing/aecm/main/source/aecm_core.c +++ b/src/modules/audio_processing/aecm/main/source/aecm_core.c @@ -97,6 +97,12 @@ static const WebRtc_Word16 kChannelStored16kHz[PART_LEN1] = { static const WebRtc_Word16 kNoiseEstQDomain = 15; static const WebRtc_Word16 kNoiseEstIncCount = 5; +static void ComfortNoise(AecmCore_t * aecm, + const WebRtc_UWord16* dfa, + WebRtc_Word16* outReal, + WebRtc_Word16* outImag, + const WebRtc_Word16* lambda); + #ifdef ARM_WINM_LOG HANDLE logFile = NULL; #endif @@ -1497,7 +1503,7 @@ int WebRtcAecm_ProcessBlock(AecmCore_t * aecm, const WebRtc_Word16 * farend, if (aecm->cngMode == AecmTrue) { - WebRtcAecm_ComfortNoise(aecm, ptrDfaClean, efwReal, efwImag, hnl); + ComfortNoise(aecm, ptrDfaClean, efwReal, efwImag, hnl); } #ifdef ARM_WINM_LOG_ @@ -1690,11 +1696,11 @@ void WebRtcAecm_ResetAdaptiveChannel(AecmCore_t *aecm) // \param[in,out] outImag Imaginary part of the output signal (Q[aecm->dfaQDomain]). // \param[in] lambda Suppression gain with which to scale the noise level (Q14). // -void WebRtcAecm_ComfortNoise(AecmCore_t * aecm, - const WebRtc_UWord16* dfa, - WebRtc_Word16* outReal, - WebRtc_Word16* outImag, - const WebRtc_Word16* lambda) +static void ComfortNoise(AecmCore_t * aecm, + const WebRtc_UWord16* dfa, + WebRtc_Word16* outReal, + WebRtc_Word16* outImag, + const WebRtc_Word16* lambda) { WebRtc_Word16 i; WebRtc_Word16 tmp16;