Lines Matching refs:envValue
942 pState->envValue = 0; in InitPCMStream()
1004 pState->envValue = (32768<<7); in RenderPCMStream()
1016 pState->envValue = (2<<7); in RenderPCMStream()
1029 pState->envValue = pState->envValue + (pState->envScale << 7); in RenderPCMStream()
1031 if (pState->envValue >= (32768<<7)) in RenderPCMStream()
1033 pState->envValue = (32768<<7); in RenderPCMStream()
1043 pState->envValue = (pState->envValue * pState->envScale)>>9; in RenderPCMStream()
1052 if (pState->envValue <= utemp) in RenderPCMStream()
1063 pState->envValue = (pState->envValue * pState->envScale)>>9; in RenderPCMStream()
1065 if (pState->envValue <= (2<<7)) in RenderPCMStream()
1076 pState->envValue = (pState->envValue * pState->envScale)>>9; in RenderPCMStream()
1078 if (pState->envValue <= (2<<7)) in RenderPCMStream()
1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); in RenderPCMStream()