• Home
  • Raw
  • Download

Lines Matching refs:currentPriority

2022     EAS_I32 currentPriority;  in VMStealVoice()  local
2060 currentPriority = 128 - pCurrVoice->nextVelocity; in VMStealVoice()
2066 currentPriority = (EAS_I32) pCurrVoice->age << NOTE_AGE_STEAL_WEIGHT; in VMStealVoice()
2070 currentPriority += ((32768 >> (12 - NOTE_GAIN_STEAL_WEIGHT)) + 256) - in VMStealVoice()
2080currentPriority += (pSynth->poolCount[pChannel->pool] -pSynth->poolAlloc[pChannel->pool] + 1) << C… in VMStealVoice()
2083 currentPriority += (EAS_I32)(pChannel->pool << CHANNEL_PRIORITY_STEAL_WEIGHT); in VMStealVoice()
2088 currentPriority += NOTE_MATCH_PENALTY; in VMStealVoice()
2091 if (currentPriority >= bestPriority) in VMStealVoice()
2093 bestPriority = currentPriority; in VMStealVoice()
3118 EAS_I32 currentPriority, bestPriority; in VMSetSynthPolyphony() local
3138 currentPriority = 128 - pVoice->nextVelocity; in VMSetSynthPolyphony()
3141currentPriority += pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool << CHANNEL_PRIORITY_STE… in VMSetSynthPolyphony()
3146 currentPriority = (EAS_I32) pVoice->age << NOTE_AGE_STEAL_WEIGHT; in VMSetSynthPolyphony()
3150 currentPriority += ((32768 >> (12 - NOTE_GAIN_STEAL_WEIGHT)) + 256) - in VMSetSynthPolyphony()
3154currentPriority += pSynth->channels[GET_CHANNEL(pVoice->channel)].pool << CHANNEL_PRIORITY_STEAL_W… in VMSetSynthPolyphony()
3158 currentPriority += pSynth->priority << SYNTH_PRIORITY_WEIGHT; in VMSetSynthPolyphony()
3161 if (currentPriority > bestPriority) in VMSetSynthPolyphony()
3163 bestPriority = currentPriority; in VMSetSynthPolyphony()
3288 EAS_I32 currentPriority, bestPriority; in VMSetPolyphony() local
3305 currentPriority = 128 - pVoice->nextVelocity; in VMSetPolyphony()
3308currentPriority += pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool << CHANNEL_PRIORITY_STE… in VMSetPolyphony()
3313 currentPriority = (EAS_I32) pVoice->age << NOTE_AGE_STEAL_WEIGHT; in VMSetPolyphony()
3317 currentPriority += ((32768 >> (12 - NOTE_GAIN_STEAL_WEIGHT)) + 256) - in VMSetPolyphony()
3321currentPriority += pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool << CHANNEL_PRIORITY_STE… in VMSetPolyphony()
3325 if (currentPriority > bestPriority) in VMSetPolyphony()
3327 bestPriority = currentPriority; in VMSetPolyphony()