Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c295 uint32_t frameNrg = 0; in WebRtcAgc_VirtualMic() local
313 frameNrg = (uint32_t)(in_near[0][0] * in_near[0][0]); in WebRtcAgc_VirtualMic()
319 if (frameNrg < frameNrgLimit) in WebRtcAgc_VirtualMic()
322 frameNrg += nrg; in WebRtcAgc_VirtualMic()
330 if ((frameNrg < 500) || (numZeroCrossing <= 5)) in WebRtcAgc_VirtualMic()
336 } else if (frameNrg <= frameNrgLimit) in WebRtcAgc_VirtualMic()