Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c263 stt->capacitorSlow = 0; in WebRtcAgc_InitDigital()
267 stt->capacitorSlow = 134217728; // (int32_t)(0.125f * 32768.0f * 32768.0f); in WebRtcAgc_InitDigital()
427 if (env[k] > stt->capacitorSlow) in WebRtcAgc_ProcessDigital()
430 stt->capacitorSlow in WebRtcAgc_ProcessDigital()
431 = AGC_SCALEDIFF32(500, (env[k] - stt->capacitorSlow), stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
435 stt->capacitorSlow in WebRtcAgc_ProcessDigital()
436 = AGC_SCALEDIFF32(decay, stt->capacitorSlow, stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
440 if (stt->capacitorFast > stt->capacitorSlow) in WebRtcAgc_ProcessDigital()
445 cur_level = stt->capacitorSlow; in WebRtcAgc_ProcessDigital()
465 stt->capacitorSlow, in WebRtcAgc_ProcessDigital()
Ddigital_agc.h41 int32_t capacitorSlow; member