Lines Matching refs:eg1State
125 pVoiceMgr->wtVoices[i].eg1State = DEFAULT_EG1_STATE; in WT_Initialize()
183 pWTVoice->eg1State = eEnvelopeStateRelease; in WT_ReleaseVoice()
229 pVoiceMgr->wtVoices[voiceNum].eg1State = eEnvelopeStateMuted; in WT_MuteVoice()
266 pWTVoice->eg1State = eEnvelopeStateDecay; in WT_SustainPedal()
352 pWTVoice->eg1State = eEnvelopeStateAttack; in WT_StartVoice()
594 if ((pVoice->voiceState != eVoiceStateStolen) && (pWTVoice->eg1State == eEnvelopeStateMuted)) in WT_UpdateVoice()
795 switch (pWTVoice->eg1State) in WT_UpdateEG1()
807 pWTVoice->eg1State = eEnvelopeStateDecay; in WT_UpdateEG1()
825 pWTVoice->eg1State = eEnvelopeStateSustain; in WT_UpdateEG1()
829 pWTVoice->eg1State = eEnvelopeStateMuted; in WT_UpdateEG1()
844 pWTVoice->eg1State = eEnvelopeStateMuted; in WT_UpdateEG1()