Lines Matching defs:priority
390 pSynth->priority = DEFAULT_SYNTH_PRIORITY;
682 * Sets the priority and MIP level for a MIDI channel
686 void VMSetMIPEntry (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 priority, EAS_U8 mip)
690 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "VMSetMIPEntry: channel=%d, priority=%d, MIP=%d\n", channel, priority, mip); */ }
694 if (priority < NUM_SYNTH_CHANNELS)
696 pSynth->channels[channel].pool = priority;
806 EAS_INT priority[NUM_SYNTH_CHANNELS];
815 /* sort channels into priority order */
817 priority[i] = -1;
821 priority[pSynth->channels[i].pool] = i;
824 /* process channels in priority order */
830 if (priority[i] == -1)
833 pChannel = &pSynth->channels[priority[i]];
1995 * Priority of the voice's MIDI channel
2050 /* ignore voices that are higher priority */
2051 if (pSynth->priority > pCurrSynth->priority)
2054 // { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "VMStealVoice: New priority = %d exceeds old priority = %d\n", pSynth->priority, pCurrSynth->priority); */ }
2064 /* compute the priority of this voice, higher means better for stealing */
2074 /* in SP-MIDI mode, include over poly allocation and channel priority */
2082 /* include channel priority */
2098 /* may happen if all voices are allocated to a higher priority virtual synth */
3121 /* find the lowest priority voice */
3140 /* include channel priority */
3153 /* include channel priority */
3157 /* include synth priority */
3158 currentPriority += pSynth->priority << SYNTH_PRIORITY_WEIGHT;
3291 /* find the lowest priority voice */
3307 /* include channel priority */
3320 /* include channel priority */
3376 * Set the virtual synth priority
3380 * priority new priority
3391 EAS_RESULT VMSetPriority (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 priority)
3393 pSynth->priority = (EAS_U8) priority ;
3401 * Get the virtual synth priority
3405 * pPriority pointer to variable to hold priority
3418 *pPriority = pSynth->priority;