Home
last modified time | relevance | path

Searched refs:mAmplitude_Q15 (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h346 int16_t mAmplitude_Q15; // Q15 amplitude variable
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1740 mAmplitude_Q15 = (int16_t)(32767. * 32767. * volume / GEN_AMP); in WaveGenerator()
1742 if (mAmplitude_Q15 > 32500) in WaveGenerator()
1743 mAmplitude_Q15 = 32500; in WaveGenerator()
1751 mA1_Q14, mS2_0, mAmplitude_Q15); in WaveGenerator()
1801 lAmplitude = (long)mAmplitude_Q15; in getSamples()