Lines Matching refs:vSynthNum
168 return channel | (pSynth->vSynthNum << 4); in VSynthToChannel()
395 pSynth->vSynthNum = (EAS_U8) virtualSynthNum; in VMInitMIDI()
452 VMInitializeAllVoices(pVoiceMgr, pSynth->vSynthNum); in VMReset()
586 void VMInitializeAllVoices (S_VOICE_MGR *pVoiceMgr, EAS_INT vSynthNum) in VMInitializeAllVoices() argument
595 if (GET_VSYNTH(pVoiceMgr->voices[i].channel) == vSynthNum) in VMInitializeAllVoices()
600 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) == vSynthNum) in VMInitializeAllVoices()
714 EAS_INT vSynthNum; in VMMIPUpdateChannelMuting() local
752 vSynthNum = GET_VSYNTH(pVoiceMgr->voices[i].channel); in VMMIPUpdateChannelMuting()
757 vSynthNum = GET_VSYNTH(pVoiceMgr->voices[i].nextChannel); in VMMIPUpdateChannelMuting()
762 if (vSynthNum != pSynth->vSynthNum) in VMMIPUpdateChannelMuting()
887 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) == pSynth->vSynthNum) in VMMuteAllVoices()
891 else if (pSynth->vSynthNum == GET_VSYNTH(pVoiceMgr->voices[i].channel)) in VMMuteAllVoices()
938 if (GET_VSYNTH(pVoiceMgr->voices[i].channel) == pSynth->vSynthNum) in VMReleaseAllVoices()
943 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) == pSynth->vSynthNum) in VMReleaseAllVoices()
2917 VMInitializeAllVoices(pVoiceMgr, pSynth->vSynthNum); in VMRender()
3276 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) != pSynth->vSynthNum) in VMSetPolyphony()
3298 if (GET_VSYNTH(pVoice->nextChannel) != pSynth->vSynthNum) in VMSetPolyphony()
3688 EAS_INT vSynthNum; in VMMIDIShutdown() local
3694 vSynthNum = pSynth->vSynthNum; in VMMIDIShutdown()
3715 pEASData->pVoiceMgr->pSynth[vSynthNum] = NULL; in VMMIDIShutdown()
3861 EAS_INT vSynthNum; in VMSanityCheck() local
3874 vSynthNum = GET_VSYNTH(pVoice->channel); in VMSanityCheck()
3875 if (vSynthNum >= MAX_VIRTUAL_SYNTHESIZERS) in VMSanityCheck()
3881 pSynth = pEASData->pVoiceMgr->pSynth[vSynthNum]; in VMSanityCheck()
3891 vSynthNum = GET_VSYNTH(pVoice->nextChannel); in VMSanityCheck()
3892 if (vSynthNum >= MAX_VIRTUAL_SYNTHESIZERS) in VMSanityCheck()
3898 pSynth = pEASData->pVoiceMgr->pSynth[vSynthNum]; in VMSanityCheck()
3901 poolCount[vSynthNum][pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool]++; in VMSanityCheck()
3908 poolCount[vSynthNum][pSynth->channels[GET_CHANNEL(pVoice->channel)].pool]++; in VMSanityCheck()
3914 poolCount[vSynthNum][pSynth->channels[GET_CHANNEL(pVoice->channel)].pool]++; in VMSanityCheck()