• Home
  • Raw
  • Download

Lines Matching refs:polyphonyCount

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