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

/frameworks/av/include/media/
H A DToneGenerator.h318 short mAmplitude_Q15; // Q15 amplitude member in class:android::ToneGenerator::WaveGenerator
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp1558 mAmplitude_Q15 = (short)(32767. * 32767. * volume / GEN_AMP);
1560 if (mAmplitude_Q15 > 32500)
1561 mAmplitude_Q15 = 32500;
1568 ALOGV("WaveGenerator init, mA1_Q14: %d, mS2_0: %d, mAmplitude_Q15: %d",
1569 mA1_Q14, mS2_0, mAmplitude_Q15);
1619 lAmplitude = (long)mAmplitude_Q15;

Completed in 10 milliseconds