• Home
  • Raw
  • Download

Lines Matching refs:pChannel

55 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
59 …Inc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCen…
60 …pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain);
248 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in WT_SustainPedal() argument
255 DLS_SustainPedal(pVoiceMgr, pSynth, pVoice, pChannel, voiceNum); in WT_SustainPedal()
316 S_SYNTH_CHANNEL *pChannel; in WT_StartVoice() local
332 pChannel = &pSynth->channels[pVoice->channel & 15]; in WT_StartVoice()
335 if (pChannel->channelFlags & CHANNEL_FLAG_UPDATE_CHANNEL_PARAMETERS) in WT_StartVoice()
533 S_SYNTH_CHANNEL *pChannel; in WT_UpdateVoice() local
547 pChannel = &pSynth->channels[pVoice->channel & 15]; in WT_UpdateVoice()
566 intFrame.frame.gainTarget = WT_UpdateGain(pVoice, pWTVoice, pArt, pChannel, pWTRegion->gain); in WT_UpdateVoice()
569 temp = pChannel->staticPitch + pWTRegion->tuning; in WT_UpdateVoice()
572 if (pChannel->channelFlags & CHANNEL_FLAG_RHYTHM_CHANNEL) in WT_UpdateVoice()
576 intFrame.frame.phaseIncrement = WT_UpdatePhaseInc(pWTVoice, pArt, pChannel, temp); in WT_UpdateVoice()
658 …Inc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCen… in WT_UpdatePhaseInc() argument
664 ((pChannel->modWheel) << (NUM_EG1_FRAC_BITS -7))); in WT_UpdatePhaseInc()
668 ((pChannel->channelPressure) << (NUM_EG1_FRAC_BITS -7))); in WT_UpdatePhaseInc()
710 S_SYNTH_CHANNEL *pChannel; in WT_UpdateChannel() local
712 pChannel = &pSynth->channels[channel]; in WT_UpdateChannel()
718 staticGain = MULT_EG1_EG1((pChannel->volume) << (NUM_EG1_FRAC_BITS - 7), in WT_UpdateChannel()
719 (pChannel->expression) << (NUM_EG1_FRAC_BITS - 7)); in WT_UpdateChannel()
724 pChannel->staticGain = (EAS_I16) MULT_EG1_EG1(staticGain, pSynth->masterVolume); in WT_UpdateChannel()
736 (((EAS_I32)(pChannel->pitchBend) << 2) in WT_UpdateChannel()
739 pChannel->staticPitch = in WT_UpdateChannel()
740 MULT_EG1_EG1(pitchBend, pChannel->pitchBendSensitivity); in WT_UpdateChannel()
743 if (!(pChannel->channelFlags & CHANNEL_FLAG_RHYTHM_CHANNEL)) in WT_UpdateChannel()
744 pChannel->staticPitch += pChannel->finePitch + (pChannel->coarsePitch * 100); in WT_UpdateChannel()
747 pChannel->channelFlags &= ~CHANNEL_FLAG_UPDATE_CHANNEL_PARAMETERS; in WT_UpdateChannel()
768 …*pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain) in WT_UpdateGain() argument
788 temp = MULT_EG1_EG1(temp, pChannel->staticGain); in WT_UpdateGain()