Lines Matching refs:pRegion
313 const S_WT_REGION *pRegion; in WT_StartVoice() local
342 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]); in WT_StartVoice()
343 pWTVoice->artIndex = pRegion->artIndex; in WT_StartVoice()
385 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_USE_WAVE_GENERATOR) in WT_StartVoice()
398 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
400 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
402 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
405 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED) in WT_StartVoice()
407 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice()
408 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice()
411 …tart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion->waveIndex] - 1; in WT_StartVoice()