Home | History | Annotate | Download | only in lib_src

Lines Matching full:pvalue

45 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel,  const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncrement, EAS_U8 *pState);
467 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncrement, EAS_U8 *pState)
476 *pValue = 0;
499 *pValue = SYNTH_FULL_SCALE_EG1_GAIN;
503 if (*pValue < SYNTH_FULL_SCALE_EG1_GAIN)
505 temp = *pValue + *pIncrement;
506 *pValue = (EAS_I16) (temp < SYNTH_FULL_SCALE_EG1_GAIN ? temp : SYNTH_FULL_SCALE_EG1_GAIN);
540 // *pValue = pEnvParams->sustainLevel;
544 if (*pValue > pEnvParams->sustainLevel)
546 temp = *pValue - *pIncrement;
547 *pValue = (EAS_I16) (temp > pEnvParams->sustainLevel ? temp : pEnvParams->sustainLevel);
552 *pValue = pEnvParams->sustainLevel;
559 temp = *pValue - *pIncrement;
563 *pValue = 0;
566 *pValue = (EAS_I16) temp;
570 *pValue = 0;