Home | History | Annotate | Download | only in lib_src

Lines Matching defs:pRegion

314     const S_WT_REGION *pRegion;
343 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]);
344 pWTVoice->artIndex = pRegion->artIndex;
386 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_USE_WAVE_GENERATOR)
399 pWTVoice->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex];
401 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex];
403 pWTVoice->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex];
406 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED)
408 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart;
409 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1;
412 pWTVoice->loopStart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion->waveIndex] - 1;