Home
last modified time | relevance | path

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

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