Searched refs:nGain (Results 1 - 5 of 5) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
H A Deas_math.c107 * nGain - log scale value in 20.10 format. Even though gain is normally
112 * Returns a 16-bit linear value approximately equal to 2^(nGain/1024)
118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain) argument
124 nGain += 32767;
127 if (nGain < 0)
131 nExp = 31 - (nGain >> 10);
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp);
H A Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNumLoopSamples);
H A DARM-E_mastergain_gnu.s12 @ nGain,
30 @ short nGain
65 nGain .req r2 label
77 SMULWB r4, r4, nGain @output = gain * input
84 SMULWB r5, r5, nGain @output = gain * input
H A Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) { argument
280 s *= (long) nGain;
H A Deas_math.h352 * nGain - log scale value in 20.10 format. Even though gain is normally
357 * Returns a 16-bit linear value approximately equal to 2^(nGain/1024)
363 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);

Completed in 252 milliseconds