Lines Matching refs:pRegion
310 const S_WT_REGION *pRegion; in WT_StartVoice() local
339 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]); in WT_StartVoice()
340 pWTVoice->artIndex = pRegion->artIndex; in WT_StartVoice()
382 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_USE_WAVE_GENERATOR) in WT_StartVoice()
395 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
397 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
399 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
402 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED) in WT_StartVoice()
404 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice()
405 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice()
408 …tart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion->waveIndex] - 1; in WT_StartVoice()