Lines Matching refs:pDLSRegion
308 const S_DLS_REGION *pDLSRegion; in DLS_StartVoice() local
318 pDLSRegion = &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK]; in DLS_StartVoice()
319 pWTVoice->artIndex = pDLSRegion->wtRegion.artIndex; in DLS_StartVoice()
337 …pVoice->gain = (EAS_I16) DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pV… in DLS_StartVoice()
348 … (EAS_U32) pSynth->pDLS->pDLSSamples + pSynth->pDLS->pDLSSampleOffsets[pDLSRegion->wtRegion.waveIn… in DLS_StartVoice()
349 if (pDLSRegion->wtRegion.region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED) in DLS_StartVoice()
351 pWTVoice->loopStart = pWTVoice->phaseAccum + pDLSRegion->wtRegion.loopStart; in DLS_StartVoice()
352 pWTVoice->loopEnd = pWTVoice->phaseAccum + pDLSRegion->wtRegion.loopEnd - 1; in DLS_StartVoice()
355 …pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pDLS->pDLSSampleLen[pDLSRegion->wtRegion.waveIn… in DLS_StartVoice()
382 const S_DLS_REGION *pDLSRegion; in DLS_UpdateVoice() local
390 pDLSRegion = &pSynth->pDLS->pDLSRegions[pVoice->regionIndex & REGION_INDEX_MASK]; in DLS_UpdateVoice()
403 temp = pDLSArt->tuning + pChannel->staticPitch + pDLSRegion->wtRegion.tuning + in DLS_UpdateVoice()
414 …intFrame.frame.gainTarget = DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain,… in DLS_UpdateVoice()