Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/include/
DVolume.h150 static inline float DbToAmpl(float decibels) in DbToAmpl() argument
152 if (decibels <= VOLUME_MIN_DB) { in DbToAmpl()
155 return exp( decibels * 0.115129f); // exp( dB * ln(10) / 20 ) in DbToAmpl()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeCurve.cpp78 float decibels = (mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f) + in volIndexToDb() local
88 ((float)mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f), decibels, in volIndexToDb()
91 return decibels; in volIndexToDb()