Lines Matching refs:pCurrVoice
2015 S_SYNTH_VOICE *pCurrVoice; in VMStealVoice() local
2030 pCurrVoice = &pVoiceMgr->voices[voiceNum]; in VMStealVoice()
2033 if (pCurrVoice->voiceState == eVoiceStateFree) in VMStealVoice()
2037 if (pCurrVoice->voiceState == eVoiceStateStolen) in VMStealVoice()
2039 pCurrSynth = pVoiceMgr->pSynth[GET_VSYNTH(pCurrVoice->nextChannel)]; in VMStealVoice()
2040 currChannel = pCurrVoice->nextChannel; in VMStealVoice()
2041 currNote = pCurrVoice->nextNote; in VMStealVoice()
2045 pCurrSynth = pVoiceMgr->pSynth[GET_VSYNTH(pCurrVoice->channel)]; in VMStealVoice()
2046 currChannel = pCurrVoice->channel; in VMStealVoice()
2047 currNote = pCurrVoice->note; in VMStealVoice()
2058 …if (( pCurrVoice->voiceState == eVoiceStateStolen) || (pCurrVoice->voiceFlags & VOICE_FLAG_NO_SAMP… in VMStealVoice()
2060 currentPriority = 128 - pCurrVoice->nextVelocity; in VMStealVoice()
2066 currentPriority = (EAS_I32) pCurrVoice->age << NOTE_AGE_STEAL_WEIGHT; in VMStealVoice()
2071 ((EAS_I32) pCurrVoice->gain >> (12 - NOTE_GAIN_STEAL_WEIGHT)); in VMStealVoice()