Searched refs:GainStep (Results 1 – 1 of 1) sorted by relevance
217 LVM_INT16 GainStep; in LVCS_Process() local225 … GainStep = (LVM_INT16)(((Gain-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples); in LVCS_Process()227 if((GainStep ==0)&&(pInstance->CompressGain < Gain)) in LVCS_Process()229 GainStep=1; in LVCS_Process()233 if((GainStep ==0)&&(pInstance->CompressGain > Gain)) in LVCS_Process()235 GainStep=-1; in LVCS_Process()245 Gain = (LVM_INT16)(Gain + GainStep); in LVCS_Process()246 if((GainStep > 0)&& (FinalGain <= Gain)) in LVCS_Process()249 GainStep =0; in LVCS_Process()252 if((GainStep < 0)&& (FinalGain > Gain)) in LVCS_Process()[all …]