• Home
  • Raw
  • Download

Lines Matching refs:pChannel

45 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel,  const S_DLS_ENVE…
112 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in DLS_SustainPedal() argument
140 …WT_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCen… in DLS_UpdatePhaseInc() argument
149 temp += ((pDLSArt->modLFOCC1ToPitch * pChannel->modWheel) >> 7); in DLS_UpdatePhaseInc()
153 temp += ((pDLSArt->modLFOChanPressToPitch * pChannel->channelPressure) >> 7); in DLS_UpdatePhaseInc()
163 temp += ((pDLSArt->vibLFOCC1ToPitch * pChannel->modWheel) >> 7); in DLS_UpdatePhaseInc()
167 temp += ((pDLSArt->vibLFOChanPressToPitch * pChannel->channelPressure) >> 7); in DLS_UpdatePhaseInc()
185 …WT_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain, EA… in DLS_UpdateGain() argument
194 temp += ((pDLSArt->modLFOCC1ToGain * pChannel->modWheel) >> 7); in DLS_UpdateGain()
198 temp += ((pDLSArt->modLFOChanPressToGain * pChannel->channelPressure) >> 7); in DLS_UpdateGain()
227 gain = FMUL_15x15(gain, pChannel->staticGain); in DLS_UpdateGain()
247 …oice, S_WT_VOICE *pWTVoice, S_WT_INT_FRAME *pIntFrame, S_SYNTH_CHANNEL *pChannel, const S_DLS_ARTI… in DLS_UpdateFilter() argument
267 temp += ((pDLSArt->modLFOCC1ToFc * pChannel->modWheel) >> 7); in DLS_UpdateFilter()
271 temp += ((pDLSArt->modLFOChanPressToFc* pChannel->channelPressure) >> 7); in DLS_UpdateFilter()
310 S_SYNTH_CHANNEL *pChannel; in DLS_StartVoice() local
317 pChannel = &pSynth->channels[pVoice->channel & 15]; in DLS_StartVoice()
324 …DLS_UpdateEnvelope(pVoice, pChannel, &pDLSArt->eg1, &pWTVoice->eg1Value, &pWTVoice->eg1Increment, … in DLS_StartVoice()
326 …DLS_UpdateEnvelope(pVoice, pChannel, &pDLSArt->eg2, &pWTVoice->eg2Value, &pWTVoice->eg2Increment, … in DLS_StartVoice()
335 …DLS_UpdateEnvelope(pVoice, pChannel, &pDLSArt->eg1, &pWTVoice->eg1Value, &pWTVoice->eg1Increment, … in DLS_StartVoice()
336 …DLS_UpdateEnvelope(pVoice, pChannel, &pDLSArt->eg2, &pWTVoice->eg2Value, &pWTVoice->eg2Increment, … in DLS_StartVoice()
337 …pVoice->gain = (EAS_I16) DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pV… in DLS_StartVoice()
340 …EAS_CalcPanControl((EAS_INT) pChannel->pan - 64 + (EAS_INT) pDLSArt->pan, &pWTVoice->gainLeft, &pW… in DLS_StartVoice()
381 S_SYNTH_CHANNEL *pChannel; in DLS_UpdateVoice() local
391 pChannel = &pSynth->channels[pVoice->channel & 15]; in DLS_UpdateVoice()
395 …DLS_UpdateEnvelope(pVoice, pChannel, &pDLSArt->eg1, &pWTVoice->eg1Value, &pWTVoice->eg1Increment, … in DLS_UpdateVoice()
396 …DLS_UpdateEnvelope(pVoice, pChannel, &pDLSArt->eg2, &pWTVoice->eg2Value, &pWTVoice->eg2Increment, … in DLS_UpdateVoice()
403 temp = pDLSArt->tuning + pChannel->staticPitch + pDLSRegion->wtRegion.tuning + in DLS_UpdateVoice()
407 if ((pChannel ->channelFlags & CHANNEL_FLAG_RHYTHM_CHANNEL) == 0) in DLS_UpdateVoice()
411 intFrame.frame.phaseIncrement = DLS_UpdatePhaseInc(pWTVoice, pDLSArt, pChannel, temp); in DLS_UpdateVoice()
414 …intFrame.frame.gainTarget = DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain,… in DLS_UpdateVoice()
417 DLS_UpdateFilter(pVoice, pWTVoice, &intFrame, pChannel, pDLSArt); in DLS_UpdateVoice()
467 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVE… in DLS_UpdateEnvelope() argument