Lines Matching refs:pCurrVoice
2004 S_SYNTH_VOICE *pCurrVoice; in VMStealVoice() local
2019 pCurrVoice = &pVoiceMgr->voices[voiceNum]; in VMStealVoice()
2022 if (pCurrVoice->voiceState == eVoiceStateFree) in VMStealVoice()
2026 if (pCurrVoice->voiceState == eVoiceStateStolen) in VMStealVoice()
2028 pCurrSynth = pVoiceMgr->pSynth[GET_VSYNTH(pCurrVoice->nextChannel)]; in VMStealVoice()
2029 currChannel = pCurrVoice->nextChannel; in VMStealVoice()
2030 currNote = pCurrVoice->nextNote; in VMStealVoice()
2034 pCurrSynth = pVoiceMgr->pSynth[GET_VSYNTH(pCurrVoice->channel)]; in VMStealVoice()
2035 currChannel = pCurrVoice->channel; in VMStealVoice()
2036 currNote = pCurrVoice->note; in VMStealVoice()
2047 …if (( pCurrVoice->voiceState == eVoiceStateStolen) || (pCurrVoice->voiceFlags & VOICE_FLAG_NO_SAMP… in VMStealVoice()
2049 currentPriority = 128 - pCurrVoice->nextVelocity; in VMStealVoice()
2055 currentPriority = (EAS_I32) pCurrVoice->age << NOTE_AGE_STEAL_WEIGHT; in VMStealVoice()
2060 ((EAS_I32) pCurrVoice->gain >> (12 - NOTE_GAIN_STEAL_WEIGHT)); in VMStealVoice()