Lines Matching refs:polyphonyCount

3028  * polyphonyCount   desired polyphony count
3038 EAS_RESULT VMSetSynthPolyphony (S_VOICE_MGR *pVoiceMgr, EAS_I32 synth, EAS_I32 polyphonyCount)
3044 if (polyphonyCount < 1)
3045 polyphonyCount = 1;
3051 if (polyphonyCount > NUM_PRIMARY_VOICES)
3052 polyphonyCount = NUM_PRIMARY_VOICES;
3053 if (pVoiceMgr->maxPolyphonyPrimary == polyphonyCount)
3055 pVoiceMgr->maxPolyphonyPrimary = (EAS_U16) polyphonyCount;
3059 if (polyphonyCount > NUM_SECONDARY_VOICES)
3060 polyphonyCount = NUM_SECONDARY_VOICES;
3061 if (pVoiceMgr->maxPolyphonySecondary == polyphonyCount)
3063 pVoiceMgr->maxPolyphonySecondary = (EAS_U16) polyphonyCount;
3077 if (polyphonyCount > MAX_SYNTH_VOICES)
3078 polyphonyCount = MAX_SYNTH_VOICES;
3081 if (pVoiceMgr->maxPolyphony == polyphonyCount)
3084 pVoiceMgr->maxPolyphony = (EAS_U16) polyphonyCount;
3095 pVoiceMgr->pSynth[i]->poolAlloc[0] = (EAS_U8) polyphonyCount;
3100 if (pVoiceMgr->activeVoices <= polyphonyCount)
3114 while (activeVoices > polyphonyCount)
3228 * polyphonyCount desired polyphony count
3238 EAS_RESULT VMSetPolyphony (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 polyphonyCount)
3244 if (polyphonyCount < 0)
3248 if ((polyphonyCount == 0) || (polyphonyCount > MAX_SYNTH_VOICES))
3255 pSynth->maxPolyphony = (EAS_U16) polyphonyCount;
3258 if (polyphonyCount > pVoiceMgr->maxPolyphony)
3259 polyphonyCount = pVoiceMgr->maxPolyphony;
3265 pSynth->poolAlloc[0] = (EAS_U8) polyphonyCount;
3268 if (pSynth->numActiveVoices <= polyphonyCount)
3285 while (activeVoices > polyphonyCount)