Searched refs:gainIdx (Results 1 – 1 of 1) sorted by relevance
288 int32_t tmpFlt, micLevelTmp, gainIdx; in WebRtcAgc_VirtualMic() local349 gainIdx = stt->micVol; in WebRtcAgc_VirtualMic()352 gainIdx = stt->maxAnalog; in WebRtcAgc_VirtualMic()361 gainIdx = 127; in WebRtcAgc_VirtualMic()365 if (gainIdx > 127) in WebRtcAgc_VirtualMic()367 gain = kGainTableVirtualMic[gainIdx - 128]; in WebRtcAgc_VirtualMic()370 gain = kSuppressionTableVirtualMic[127 - gainIdx]; in WebRtcAgc_VirtualMic()378 gainIdx--; in WebRtcAgc_VirtualMic()379 if (gainIdx >= 127) in WebRtcAgc_VirtualMic()381 gain = kGainTableVirtualMic[gainIdx - 127]; in WebRtcAgc_VirtualMic()[all …]