Lines Matching refs:envState
754 pState->envState = PCM_ENV_RELEASE; in EAS_PERelease()
761 pState->envState = PCM_ENV_SUSTAIN; in EAS_PERelease()
943 pState->envState = PCM_ENV_START; in InitPCMStream()
995 if (pState->envState == PCM_ENV_START) in RenderPCMStream()
1008 pState->envState = PCM_ENV_DECAY; in RenderPCMStream()
1022 pState->envState = PCM_ENV_ATTACK; in RenderPCMStream()
1025 if (pState->envState == PCM_ENV_ATTACK) in RenderPCMStream()
1036 pState->envState = PCM_ENV_DECAY; in RenderPCMStream()
1039 else if (pState->envState == PCM_ENV_DECAY) in RenderPCMStream()
1056 pState->envState = PCM_ENV_SUSTAIN; in RenderPCMStream()
1059 else if (pState->envState == PCM_ENV_SUSTAIN) in RenderPCMStream()
1069 pState->envState = PCM_ENV_END; in RenderPCMStream()
1072 else if (pState->envState == PCM_ENV_RELEASE) in RenderPCMStream()
1082 pState->envState = PCM_ENV_END; in RenderPCMStream()
1085 else if (pState->envState == PCM_ENV_END) in RenderPCMStream()