Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Danalog_agc.c400 WebRtc_Word32 tmpFlt, micLevelTmp, gainIdx; in WebRtcAgc_VirtualMic() local
460 gainIdx = stt->micVol; in WebRtcAgc_VirtualMic()
463 gainIdx = stt->maxAnalog; in WebRtcAgc_VirtualMic()
472 gainIdx = 127; in WebRtcAgc_VirtualMic()
476 if (gainIdx > 127) in WebRtcAgc_VirtualMic()
478 gain = kGainTableVirtualMic[gainIdx - 128]; in WebRtcAgc_VirtualMic()
481 gain = kSuppressionTableVirtualMic[127 - gainIdx]; in WebRtcAgc_VirtualMic()
489 gainIdx--; in WebRtcAgc_VirtualMic()
490 if (gainIdx >= 127) in WebRtcAgc_VirtualMic()
492 gain = kGainTableVirtualMic[gainIdx - 127]; in WebRtcAgc_VirtualMic()
[all …]