Lines Matching refs:pRegion
314 const S_WT_REGION *pRegion; in WT_StartVoice() local
343 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]); in WT_StartVoice()
344 pWTVoice->artIndex = pRegion->artIndex; in WT_StartVoice()
386 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_USE_WAVE_GENERATOR) in WT_StartVoice()
399 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
401 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
403 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
406 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED) in WT_StartVoice()
409 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice()
410 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice()
412 pWTVoice->loopStart = pWTVoice->phaseAccum + (pRegion->loopStart<<1); in WT_StartVoice()
413 pWTVoice->loopEnd = pWTVoice->phaseAccum + (pRegion->loopEnd<<1) - 2; in WT_StartVoice()
418 …tart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion->waveIndex] - 1; in WT_StartVoice()
420 …tart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion->waveIndex] - 2; in WT_StartVoice()