Home
last modified time | relevance | path

Searched refs:staticGain (Results 1 – 11 of 11) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_wtsynth.c665 EAS_I32 staticGain; in WT_UpdateChannel() local
675 staticGain = MULT_EG1_EG1((pChannel->volume) << (NUM_EG1_FRAC_BITS - 7), in WT_UpdateChannel()
679 staticGain = MULT_EG1_EG1(staticGain, staticGain); in WT_UpdateChannel()
681 pChannel->staticGain = (EAS_I16) MULT_EG1_EG1(staticGain, pSynth->masterVolume); in WT_UpdateChannel()
745 temp = MULT_EG1_EG1(temp, pChannel->staticGain); in WT_UpdateGain()
Deas_synth.h199 EAS_I16 staticGain; /* (CC7 * CC11 * master vol)^2 */ member
Deas_dlssynth.c227 gain = FMUL_15x15(gain, pChannel->staticGain); in DLS_UpdateGain()
Deas_voicemgt.c510 pChannel->staticGain = DEFAULT_CHANNEL_STATIC_GAIN; in VMInitializeAllChannels()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_wtsynth.c659 EAS_I32 staticGain; in WT_UpdateChannel() local
669 staticGain = MULT_EG1_EG1((pChannel->volume) << (NUM_EG1_FRAC_BITS - 7), in WT_UpdateChannel()
673 staticGain = MULT_EG1_EG1(staticGain, staticGain); in WT_UpdateChannel()
675 pChannel->staticGain = (EAS_I16) MULT_EG1_EG1(staticGain, pSynth->masterVolume); in WT_UpdateChannel()
739 temp = MULT_EG1_EG1(temp, pChannel->staticGain); in WT_UpdateGain()
Deas_fmsynth.c435 pFMVoice->voiceGain = (EAS_I16) EAS_LogToLinear16(pChannel->staticGain); in FM_StartVoice()
529 pChannel->staticGain = (EAS_I16) max(temp,-32768); in FM_UpdateChannel()
868 temp += pChannel->staticGain; in FM_UpdateVoice()
Deas_synth.h199 EAS_I16 staticGain; /* (CC7 * CC11 * master vol)^2 */ member
Deas_voicemgt.c510 pChannel->staticGain = DEFAULT_CHANNEL_STATIC_GAIN; in VMInitializeAllChannels()
/external/sonivox/arm-fm-22k/lib_src/
Deas_fmsynth.c435 pFMVoice->voiceGain = (EAS_I16) EAS_LogToLinear16(pChannel->staticGain); in FM_StartVoice()
529 pChannel->staticGain = (EAS_I16) max(temp,-32768); in FM_UpdateChannel()
868 temp += pChannel->staticGain; in FM_UpdateVoice()
Deas_synth.h199 EAS_I16 staticGain; /* (CC7 * CC11 * master vol)^2 */ member
Deas_voicemgt.c510 pChannel->staticGain = DEFAULT_CHANNEL_STATIC_GAIN; in VMInitializeAllChannels()