Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c267 stt->capacitorSlow = 0; in WebRtcAgc_InitDigital()
271 stt->capacitorSlow = 134217728; // (WebRtc_Word32)(0.125f * 32768.0f * 32768.0f); in WebRtcAgc_InitDigital()
438 if (env[k] > stt->capacitorSlow) in WebRtcAgc_ProcessDigital()
441 stt->capacitorSlow in WebRtcAgc_ProcessDigital()
442 = AGC_SCALEDIFF32(500, (env[k] - stt->capacitorSlow), stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
446 stt->capacitorSlow in WebRtcAgc_ProcessDigital()
447 = AGC_SCALEDIFF32(decay, stt->capacitorSlow, stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
451 if (stt->capacitorFast > stt->capacitorSlow) in WebRtcAgc_ProcessDigital()
456 cur_level = stt->capacitorSlow; in WebRtcAgc_ProcessDigital()
472 …logFile, "%d\t%d\t%d\t%d\t%d\n", env[0], cur_level, stt->capacitorFast, stt->capacitorSlow, zeros); in WebRtcAgc_ProcessDigital()
Ddigital_agc.h41 WebRtc_Word32 capacitorSlow; member