Lines Matching refs:nextChannel
180 pVoice->nextChannel = UNASSIGNED_SYNTH_CHANNEL;
206 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->nextChannel)];
207 pool = pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool;
239 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->nextChannel)];
240 pool = pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool;
600 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) == vSynthNum)
757 vSynthNum = GET_VSYNTH(pVoiceMgr->voices[i].nextChannel);
758 channel = GET_CHANNEL(pVoiceMgr->voices[i].nextChannel);
887 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) == pSynth->vSynthNum)
943 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) == pSynth->vSynthNum)
1005 ((pVoice->voiceState == eVoiceStateStolen) && (channel == pVoice->nextChannel)))
1070 pVoiceMgr->voices[voiceNum].nextChannel,
1090 pVoiceMgr->voices[voiceNum].nextChannel,
1283 pVoice->nextChannel = VSynthToChannel(pSynth, channel);
1376 pNextSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->nextChannel)];
1383 pVoice->nextChannel, pVoice->nextNote, pVoice->nextVelocity); */ }
1395 if (pVoice->channel != pVoice->nextChannel)
1405 pVoice->channel = pVoice->nextChannel;
1411 pVoice->nextChannel = UNASSIGNED_SYNTH_CHANNEL;
1487 if (channel == pVoiceMgr->voices[voiceNum].nextChannel)
1576 if ((channel == pVoiceMgr->voices[voiceNum].nextChannel) && (note == pVoiceMgr->voices[voiceNum].nextNote))
1933 else if ((channel == pVoiceMgr->voices[voiceNum].nextChannel) && (note == pVoiceMgr->voices[voiceNum].nextNote))
2039 pCurrSynth = pVoiceMgr->pSynth[GET_VSYNTH(pCurrVoice->nextChannel)];
2040 currChannel = pCurrVoice->nextChannel;
2113 pVoiceMgr->voices[bestCandidate].nextChannel,
3141 currentPriority += pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool << CHANNEL_PRIORITY_STEAL_WEIGHT;
3276 if (GET_VSYNTH(pVoiceMgr->voices[i].nextChannel) != pSynth->vSynthNum)
3298 if (GET_VSYNTH(pVoice->nextChannel) != pSynth->vSynthNum)
3308 currentPriority += pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool << CHANNEL_PRIORITY_STEAL_WEIGHT;
3321 currentPriority += pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool << CHANNEL_PRIORITY_STEAL_WEIGHT;
3891 vSynthNum = GET_VSYNTH(pVoice->nextChannel);
3901 poolCount[vSynthNum][pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool]++;