Lines Matching refs:pState
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)
471 switch (*pState)
475 *pState = eEnvelopeStateDelay;
490 *pState = eEnvelopeStateAttack;
511 *pState = eEnvelopeStateHold;
531 *pState = eEnvelopeStateDecay;
551 *pState = eEnvelopeStateSustain;
562 *pState = eEnvelopeStateMuted;
574 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Envelope in invalid state %d\n", *pState); */ }