Home
last modified time | relevance | path

Searched refs:sampFreq (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c36 int sampFreq; member
139 int32_t WebRtcAecm_Init(void *aecmInst, int32_t sampFreq) in WebRtcAecm_Init() argument
149 if (sampFreq != 8000 && sampFreq != 16000) in WebRtcAecm_Init()
153 aecm->sampFreq = sampFreq; in WebRtcAecm_Init()
156 if (WebRtcAecm_InitCore(aecm->aecmCore, aecm->sampFreq) == -1) in WebRtcAecm_Init()
407 if ((i == 0 && aecm->sampFreq == 8000) || (i == 1 && aecm->sampFreq == 16000)) in WebRtcAecm_Process()
Decho_control_mobile.h71 int32_t WebRtcAecm_Init(void* aecmInst, int32_t sampFreq);
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c186 int32_t WebRtcAec_Init(void* aecInst, int32_t sampFreq, int32_t scSampFreq) { in WebRtcAec_Init() argument
190 if (sampFreq != 8000 && in WebRtcAec_Init()
191 sampFreq != 16000 && in WebRtcAec_Init()
192 sampFreq != 32000 && in WebRtcAec_Init()
193 sampFreq != 48000) { in WebRtcAec_Init()
196 aecpc->sampFreq = sampFreq; in WebRtcAec_Init()
204 if (WebRtcAec_InitAec(aecpc->aec, aecpc->sampFreq) == -1) { in WebRtcAec_Init()
217 if (aecpc->sampFreq == 32000 || aecpc->sampFreq == 48000) { in WebRtcAec_Init()
220 aecpc->splitSampFreq = sampFreq; in WebRtcAec_Init()
Decho_cancellation_internal.h19 int sampFreq; member
Decho_cancellation.h97 int32_t WebRtcAec_Init(void* aecInst, int32_t sampFreq, int32_t scSampFreq);
Daec_core.h58 int WebRtcAec_InitAec(AecCore* aec, int sampFreq);
Daec_core.c1564 int WebRtcAec_InitAec(AecCore* aec, int sampFreq) { in WebRtcAec_InitAec() argument
1567 aec->sampFreq = sampFreq; in WebRtcAec_InitAec()
1569 if (sampFreq == 8000) { in WebRtcAec_InitAec()
1576 aec->num_bands = (size_t)(sampFreq / 16000); in WebRtcAec_InitAec()
1591 int process_rate = sampFreq > 16000 ? 16000 : sampFreq; in WebRtcAec_InitAec()
1657 aec->mult = (short)aec->sampFreq / 8000; in WebRtcAec_InitAec()
Daec_core_internal.h103 int sampFreq; member