Searched refs:gainIdx (Results 1 – 1 of 1) sorted by relevance
400 WebRtc_Word32 tmpFlt, micLevelTmp, gainIdx; in WebRtcAgc_VirtualMic() local460 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 …]