Lines Matching refs:voiceState

186     pVoice->voiceState = DEFAULT_VOICE_STATE;  in InitVoice()
201 if (pVoice->voiceState == eVoiceStateMuting) in IncVoicePoolCount()
204 if (pVoice->voiceState == eVoiceStateStolen) in IncVoicePoolCount()
234 if (pVoice->voiceState == eVoiceStateMuting) in DecVoicePoolCount()
237 if (pVoice->voiceState == eVoiceStateStolen) in DecVoicePoolCount()
593 if (pVoiceMgr->voices[i].voiceState != eVoiceStateStolen) in VMInitializeAllVoices()
619 if ((pVoice->voiceState == eVoiceStateMuting) || (pVoice->voiceState == eVoiceStateFree)) in VMMuteVoice()
627 pVoice->voiceState = eVoiceStateMuting; in VMMuteVoice()
642 if (( pVoice->voiceState == eVoiceStateMuting) || in VMReleaseVoice()
643 (pVoice->voiceState == eVoiceStateFree) || in VMReleaseVoice()
644 (pVoice->voiceState == eVoiceStateRelease)) in VMReleaseVoice()
648 if (pVoice->voiceState == eVoiceStateStolen) in VMReleaseVoice()
653 pVoice->voiceState = eVoiceStateRelease; in VMReleaseVoice()
746 if (pVoiceMgr->voices[i].voiceState == eVoiceStateFree) in VMMIPUpdateChannelMuting()
750 if (pVoiceMgr->voices[i].voiceState != eVoiceStateStolen) in VMMIPUpdateChannelMuting()
772 if (pVoiceMgr->voices[i].voiceState == eVoiceStateStolen) in VMMIPUpdateChannelMuting()
773 pVoiceMgr->voices[i].voiceState = eVoiceStateMuting; in VMMIPUpdateChannelMuting()
776 else if (pVoiceMgr->voices[i].voiceState != eVoiceStateMuting) in VMMIPUpdateChannelMuting()
885 if (pVoiceMgr->voices[i].voiceState == eVoiceStateStolen) in VMMuteAllVoices()
933 switch (pVoiceMgr->voices[i].voiceState) in VMReleaseAllVoices()
1002 if (pVoice->voiceState != eVoiceStateFree) in VMAllNotesOff()
1004 if (((pVoice->voiceState != eVoiceStateStolen) && (channel == pVoice->channel)) || in VMAllNotesOff()
1005 ((pVoice->voiceState == eVoiceStateStolen) && (channel == pVoice->nextChannel))) in VMAllNotesOff()
1009 pVoice->voiceState = eVoiceStateMuting; in VMAllNotesOff()
1047 if (pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStolen) in VMDeferredStopNote()
1222 if (eVoiceStateRelease == pVoiceMgr->voices[voiceNum].voiceState) in VMCatchNotesForSustainPedal()
1280 pVoice->voiceState = eVoiceStateStolen; in VMStolenVoice()
1322 if (pVoice->voiceState == eVoiceStateFree) in VMFreeVoice()
1421 pVoice->voiceState = eVoiceStateStart; in VMRetargetStolenVoice()
1459 if (pVoiceMgr->voices[voiceNum].voiceState != eVoiceStateStolen) in VMCheckKeyGroup()
1554 if (pVoiceMgr->voices[voiceNum].voiceState != eVoiceStateStolen) in VMCheckPolyphonyLimiting()
1700 pVoiceMgr->voices[voiceNum].voiceState = eVoiceStateStart; in VMStartVoice()
1897 if (eVoiceStateStolen != pVoiceMgr->voices[voiceNum].voiceState) in VMStopNote()
1968 if ( pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateFree) in VMFindAvailableVoice()
2033 if (pCurrVoice->voiceState == eVoiceStateFree) in VMStealVoice()
2037 if (pCurrVoice->voiceState == eVoiceStateStolen) in VMStealVoice()
2058 …if (( pCurrVoice->voiceState == eVoiceStateStolen) || (pCurrVoice->voiceFlags & VOICE_FLAG_NO_SAMP… in VMStealVoice()
2109 if (pVoiceMgr->voices[bestCandidate].voiceState == eVoiceStateStolen) in VMStealVoice()
2810 …if ((pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStolen) && (pVoiceMgr->voices[voiceNum].… in VMAddSamples()
2817 if (pVoiceMgr->voices[voiceNum].voiceState != eVoiceStateFree) in VMAddSamples()
2826 if (pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStolen) in VMAddSamples()
2842 if (pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStart) in VMAddSamples()
2843 pVoiceMgr->voices[voiceNum].voiceState = eVoiceStatePlay; in VMAddSamples()
3109 …if ((pVoiceMgr->voices[i].voiceState != eVoiceStateFree) && (pVoiceMgr->voices[i].voiceState != eV… in VMSetSynthPolyphony()
3129 … if ((pVoice->voiceState == eVoiceStateFree) || (pVoice->voiceState == eVoiceStateMuting)) in VMSetSynthPolyphony()
3135 …if (( pVoice->voiceState == eVoiceStateStolen) || (pVoice->voiceFlags & VOICE_FLAG_NO_SAMPLES_SYNT… in VMSetSynthPolyphony()
3280 …if ((pVoiceMgr->voices[i].voiceState != eVoiceStateFree) && (pVoiceMgr->voices[i].voiceState != eV… in VMSetPolyphony()
3302 …if (( pVoice->voiceState == eVoiceStateStolen) || (pVoice->voiceFlags & VOICE_FLAG_NO_SAMPLES_SYNT… in VMSetPolyphony()
3872 if (pVoice->voiceState != eVoiceStateFree) in VMSanityCheck()
3883 switch (pVoice->voiceState) in VMSanityCheck()