Lines Matching refs:eg1State
126 pVoiceMgr->wtVoices[i].eg1State = DEFAULT_EG1_STATE; in WT_Initialize()
184 pWTVoice->eg1State = eEnvelopeStateRelease; in WT_ReleaseVoice()
230 pVoiceMgr->wtVoices[voiceNum].eg1State = eEnvelopeStateMuted; in WT_MuteVoice()
267 pWTVoice->eg1State = eEnvelopeStateDecay; in WT_SustainPedal()
353 pWTVoice->eg1State = eEnvelopeStateAttack; in WT_StartVoice()
626 if ((pVoice->voiceState != eVoiceStateStolen) && (pWTVoice->eg1State == eEnvelopeStateMuted)) in WT_UpdateVoice()
827 switch (pWTVoice->eg1State) in WT_UpdateEG1()
839 pWTVoice->eg1State = eEnvelopeStateDecay; in WT_UpdateEG1()
857 pWTVoice->eg1State = eEnvelopeStateSustain; in WT_UpdateEG1()
861 pWTVoice->eg1State = eEnvelopeStateMuted; in WT_UpdateEG1()
876 pWTVoice->eg1State = eEnvelopeStateMuted; in WT_UpdateEG1()