Lines Matching refs:intFrame
532 S_WT_INT_FRAME intFrame;
549 intFrame.prevGain = pVoice->gain;
561 WT_UpdateFilter(pWTVoice, &intFrame, pArt);
563 intFrame.frame.k = 0;
567 intFrame.frame.gainTarget = WT_UpdateGain(pVoice, pWTVoice, pArt, pChannel, pWTRegion->gain);
577 intFrame.frame.phaseIncrement = WT_UpdatePhaseInc(pWTVoice, pArt, pChannel, temp);
584 if (intFrame.frame.phaseIncrement > temp) {
585 ALOGW("%p phaseIncrement=%d", pWTVoice, (int)intFrame.frame.phaseIncrement);
586 intFrame.frame.phaseIncrement %= temp;
591 intFrame.pAudioBuffer = pVoiceMgr->voiceBuffer;
592 intFrame.pMixBuffer = pMixBuffer;
593 intFrame.numSamples = numSamples;
597 done = WT_CheckSampleEnd(pWTVoice, &intFrame, (EAS_BOOL) (voiceNum >= NUM_PRIMARY_VOICES));
601 if (intFrame.numSamples < 0) intFrame.numSamples = 0;
603 if (intFrame.numSamples > BUFFER_SIZE_IN_MONO_SAMPLES)
604 intFrame.numSamples = BUFFER_SIZE_IN_MONO_SAMPLES;
610 WT_ProcessVoice(pWTVoice, &intFrame);
614 WTE_ProcessVoice(voiceNum - NUM_PRIMARY_VOICES, &intFrame.frame, pVoiceMgr->pFrameBuffer);
616 WT_ProcessVoice(pWTVoice, &intFrame);
630 pVoice->gain = (EAS_I16) intFrame.frame.gainTarget;