• Home
  • Raw
  • Download

Lines Matching refs:pVoice

45 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel,  const S_DLS_ENVE…
53 void DLS_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNu… in DLS_MuteVoice() argument
62 pVoice->voiceFlags &= in DLS_MuteVoice()
81 void DLS_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voic… in DLS_ReleaseVoice() argument
112 void DLS_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHAN… in DLS_SustainPedal() argument
126 pVoice->voiceState = eVoiceStatePlay; in DLS_SustainPedal()
127 pVoice->voiceFlags |= VOICE_FLAG_SUSTAIN_PEDAL_DEFER_NOTE_OFF; in DLS_SustainPedal()
247 static void DLS_UpdateFilter (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, S_WT_INT_FRAME *pIntFram… in DLS_UpdateFilter() argument
281 cutoff += (pVoice->velocity * pDLSArt->velToFc) >> 7; in DLS_UpdateFilter()
285 cutoff += (pVoice->note * pDLSArt->keyNumToFc) >> 7; in DLS_UpdateFilter()
305 EAS_RESULT DLS_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 … in DLS_StartVoice() argument
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()
337pVoice->gain = (EAS_I16) DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pV… in DLS_StartVoice()
378 EAS_BOOL DLS_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v… in DLS_UpdateVoice() argument
390 pDLSRegion = &pSynth->pDLS->pDLSRegions[pVoice->regionIndex & REGION_INDEX_MASK]; in DLS_UpdateVoice()
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()
404 (((EAS_I32) pVoice->note * (EAS_I32) pDLSArt->keyNumToPitch) >> 7); in DLS_UpdateVoice()
414 …nTarget = DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pVoice->velocity); in DLS_UpdateVoice()
415 intFrame.prevGain = pVoice->gain; in DLS_UpdateVoice()
417 DLS_UpdateFilter(pVoice, pWTVoice, &intFrame, pChannel, pDLSArt); in DLS_UpdateVoice()
433 pVoice->voiceFlags &= ~VOICE_FLAG_NO_SAMPLES_SYNTHESIZED_YET; in DLS_UpdateVoice()
439 pVoice->gain = (EAS_I16) intFrame.frame.gainTarget; in DLS_UpdateVoice()
442 if ((pVoice->voiceState != eVoiceStateStolen) && (pWTVoice->eg1State == eEnvelopeStateMuted)) in DLS_UpdateVoice()
467 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVE… in DLS_UpdateEnvelope() argument
494 temp = pEnvParams->attackTime + ((pEnvParams->velToAttack * pVoice->velocity) >> 7); in DLS_UpdateEnvelope()
515 temp = pEnvParams->holdTime + ((pEnvParams->keyNumToHold * pVoice->note) >> 7); in DLS_UpdateEnvelope()
535 temp = pEnvParams->decayTime + ((pEnvParams->keyNumToDecay * pVoice->note) >> 7); in DLS_UpdateEnvelope()