Home | History | Annotate | Download | only in lib_src

Lines Matching full:penv

57 static void WT_UpdateEG1 (S_WT_VOICE *pWTVoice, const S_ENVELOPE *pEnv);
58 static void WT_UpdateEG2 (S_WT_VOICE *pWTVoice, const S_ENVELOPE *pEnv);
780 static void WT_UpdateEG1 (S_WT_VOICE *pWTVoice, const S_ENVELOPE *pEnv)
797 pWTVoice->eg1Increment = pEnv->decayTime;
807 if (temp <= pEnv->sustainLevel)
810 temp = pEnv->sustainLevel;
873 static void WT_UpdateEG2 (S_WT_VOICE *pWTVoice, const S_ENVELOPE *pEnv)
891 pWTVoice->eg2Increment = pEnv->decayTime;
901 if (temp <= pEnv->sustainLevel)
904 temp = pEnv->sustainLevel;