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

/frameworks/av/include/media/
H A DToneGenerator.h307 short mAmplitude_Q15; // Q15 amplitude member in class:android::ToneGenerator::WaveGenerator
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp1484 mAmplitude_Q15 = (short)(32767. * 32767. * volume / GEN_AMP);
1486 if (mAmplitude_Q15 > 32500)
1487 mAmplitude_Q15 = 32500;
1494 ALOGV("WaveGenerator init, mA1_Q14: %d, mS2_0: %d, mAmplitude_Q15: %d",
1495 mA1_Q14, mS2_0, mAmplitude_Q15);
1545 lAmplitude = (long)mAmplitude_Q15;

Completed in 42 milliseconds