Searched refs:MULT_EG1_EG1 (Results 1 – 3 of 3) sorted by relevance
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_reverb.c | 495 nTemp = EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos() 496 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos() 500 nTemp = -EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos() 501 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos() 560 nTemp1 = MULT_EG1_EG1(nApIn, pReverbData->m_sAp0.m_nApGain); in Reverb() 564 nTemp1 = MULT_EG1_EG1(nApOut, pReverbData->m_sAp0.m_nApGain); in Reverb() 588 nTemp1 = MULT_EG1_EG1(nApIn, pReverbData->m_sAp1.m_nApGain); in Reverb() 592 nTemp1 = MULT_EG1_EG1(nApOut, pReverbData->m_sAp1.m_nApGain); in Reverb() 611 nTemp1 = MULT_EG1_EG1(nDelayOut, pReverbData->m_nSin); in Reverb() 618 nTemp2 = MULT_EG1_EG1(nDelayOut, pReverbData->m_nCos); in Reverb() [all …]
|
D | eas_wtsynth.c | 663 temp = MULT_EG1_EG1(DEFAULT_LFO_MOD_WHEEL_TO_PITCH_CENTS, in WT_UpdatePhaseInc() 667 temp += MULT_EG1_EG1(DEFAULT_LFO_CHANNEL_PRESSURE_TO_PITCH_CENTS, in WT_UpdatePhaseInc() 671 temp = MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, temp); in WT_UpdatePhaseInc() 680 (MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToPitch)) + in WT_UpdatePhaseInc() 681 (MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, pArt->lfoToPitch)); in WT_UpdatePhaseInc() 718 staticGain = MULT_EG1_EG1((pChannel->volume) << (NUM_EG1_FRAC_BITS - 7), in WT_UpdateChannel() 722 staticGain = MULT_EG1_EG1(staticGain, staticGain); in WT_UpdateChannel() 724 pChannel->staticGain = (EAS_I16) MULT_EG1_EG1(staticGain, pSynth->masterVolume); in WT_UpdateChannel() 740 MULT_EG1_EG1(pitchBend, pChannel->pitchBendSensitivity); in WT_UpdateChannel() 782 temp = MULT_EG1_EG1(temp, temp); in WT_UpdateGain() [all …]
|
D | eas_math.h | 181 #define MULT_EG1_EG1(gain,damping) /*lint -e(704) <avoid divide for performance>*/ \ macro
|