• Home
  • Raw
  • Download

Lines Matching refs:regionIndex

125 EAS_INLINE const S_REGION* GetRegionPtr (S_SYNTH *pSynth, EAS_U16 regionIndex)  in GetRegionPtr()  argument
128 if (regionIndex & FLAG_RGN_IDX_DLS_SYNTH) in GetRegionPtr()
129 return &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK].wtRegion.region; in GetRegionPtr()
132 if (regionIndex & FLAG_RGN_IDX_FM_SYNTH) in GetRegionPtr()
133 return &pSynth->pEAS->pFMRegions[regionIndex & REGION_INDEX_MASK].region; in GetRegionPtr()
135 return &pSynth->pEAS->pWTRegions[regionIndex].region; in GetRegionPtr()
137 return &pSynth->pEAS->pWTRegions[regionIndex].region; in GetRegionPtr()
139 return &pSynth->pEAS->pFMRegions[regionIndex].region; in GetRegionPtr()
183 pVoice->regionIndex = DEFAULT_REGION_INDEX; in InitVoice()
1271 …SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) in VMStolenVoice() argument
1286 pVoice->nextRegionIndex = regionIndex; in VMStolenVoice()
1412 pVoice->regionIndex = pVoice->nextRegionIndex; in VMRetargetStolenVoice()
1424 …Mgr, pNextSynth, &pVoiceMgr->voices[voiceNum], GetAdjustedVoiceNum(voiceNum), pVoice->regionIndex); in VMRetargetStolenVoice()
1465 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].regionIndex); in VMCheckKeyGroup()
1535 …S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoi… in VMCheckPolyphonyLimiting() argument
1594 VMStolenVoice(pVoiceMgr, pSynth, oldestVoiceNum, channel, note, velocity, regionIndex); in VMCheckPolyphonyLimiting()
1610 …MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) in VMStartVoice() argument
1620 pRegion = GetRegionPtr(pSynth, regionIndex); in VMStartVoice()
1628 if ((regionIndex & FLAG_RGN_IDX_FM_SYNTH) == 0) in VMStartVoice()
1660 …if (VMCheckPolyphonyLimiting(pVoiceMgr, pSynth, channel, note, velocity, regionIndex, lowVoice, hi… in VMStartVoice()
1707 …Voice(pVoiceMgr, pSynth, &pVoiceMgr->voices[voiceNum], GetAdjustedVoiceNum(voiceNum), regionIndex); in VMStartVoice()
1713 VMStolenVoice(pVoiceMgr, pSynth, voiceNum, channel, note, velocity, regionIndex); in VMStartVoice()
1750 EAS_U16 regionIndex; in VMStartNote() local
1777 regionIndex = pChannel->regionIndex; in VMStartNote()
1797 if (regionIndex & FLAG_RGN_IDX_DLS_SYNTH) in VMStartNote()
1803 const S_DLS_REGION *pDLSRegion = (S_DLS_REGION*) GetRegionPtr(pSynth, regionIndex); in VMStartNote()
1809 VMStartVoice(pVoiceMgr, pSynth, channel, note, velocity, regionIndex); in VMStartNote()
1817 regionIndex++; in VMStartNote()
1828 const S_REGION *pRegion = GetRegionPtr(pSynth, regionIndex); in VMStartNote()
1833 VMStartVoice(pVoiceMgr, pSynth, channel, note, velocity, regionIndex); in VMStartNote()
1842 regionIndex++; in VMStartNote()
2527 if (pSynth->channels[channel].regionIndex & FLAG_RGN_IDX_FM_SYNTH) in VMUpdateStaticChannelParameters()
2551 if (pSynth->channels[channel].regionIndex & FLAG_RGN_IDX_FM_SYNTH) in VMUpdateStaticChannelParameters()
2584 EAS_U16 regionIndex; in VMFindProgram() local
2595 regionIndex = pEAS->pBanks[i].regionIndex[programNum]; in VMFindProgram()
2596 if (regionIndex != INVALID_REGION_INDEX) in VMFindProgram()
2598 *pRegionIndex = regionIndex; in VMFindProgram()
2613 *pRegionIndex = p->regionIndex; in VMFindProgram()
2653 *pRegionIndex = p->regionIndex; in VMFindDLSProgram()
2691 EAS_U16 regionIndex; in VMProgramChange() local
2713 regionIndex = DEFAULT_REGION_INDEX; in VMProgramChange()
2732 if (VMFindDLSProgram(pSynth->pDLS, bank, program, &regionIndex) != EAS_SUCCESS) in VMProgramChange()
2739 if (VMFindProgram(pSynth->pEAS, bank, program, &regionIndex) != EAS_SUCCESS) in VMProgramChange()
2748 if (VMFindProgram(pSynth->pEAS, bank, program, &regionIndex) != EAS_SUCCESS) in VMProgramChange()
2752 if (VMFindProgram(pSynth->pEAS, bank, 0, &regionIndex) != EAS_SUCCESS) in VMProgramChange()
2761 pChannel->regionIndex = regionIndex; in VMProgramChange()