Searched refs:mAmplitude_Q15 (Results 1 – 2 of 2) sorted by relevance
340 int16_t mAmplitude_Q15; // Q15 amplitude variable
1708 mAmplitude_Q15 = (int16_t)(32767. * 32767. * volume / GEN_AMP); in WaveGenerator()1710 if (mAmplitude_Q15 > 32500) in WaveGenerator()1711 mAmplitude_Q15 = 32500; in WaveGenerator()1719 mA1_Q14, mS2_0, mAmplitude_Q15); in WaveGenerator()1769 lAmplitude = (long)mAmplitude_Q15; in getSamples()