Lines Matching refs:pEnvParams
45 …SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue…
467 …SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue… in DLS_UpdateEnvelope() argument
477 *pIncrement = pEnvParams->delayTime; in DLS_UpdateEnvelope()
491 if (pEnvParams->attackTime != ZERO_TIME_IN_CENTS) in DLS_UpdateEnvelope()
494 temp = pEnvParams->attackTime + ((pEnvParams->velToAttack * pVoice->velocity) >> 7); in DLS_UpdateEnvelope()
512 if (pEnvParams->holdTime != ZERO_TIME_IN_CENTS) in DLS_UpdateEnvelope()
515 temp = pEnvParams->holdTime + ((pEnvParams->keyNumToHold * pVoice->note) >> 7); in DLS_UpdateEnvelope()
532 if (pEnvParams->decayTime != ZERO_TIME_IN_CENTS) in DLS_UpdateEnvelope()
535 temp = pEnvParams->decayTime + ((pEnvParams->keyNumToDecay * pVoice->note) >> 7); in DLS_UpdateEnvelope()
544 if (*pValue > pEnvParams->sustainLevel) in DLS_UpdateEnvelope()
547 … *pValue = (EAS_I16) (temp > pEnvParams->sustainLevel ? temp : pEnvParams->sustainLevel); in DLS_UpdateEnvelope()
552 *pValue = pEnvParams->sustainLevel; in DLS_UpdateEnvelope()