Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/include/
DVolume.h146 static inline float DbToAmpl(float decibels) in DbToAmpl() argument
148 if (decibels <= VOLUME_MIN_DB) { in DbToAmpl()
151 return exp( decibels * 0.115129f); // exp( dB * ln(10) / 20 ) in DbToAmpl()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DGains.cpp239 float decibels = curve[segment].mDBAttenuation + in volIndexToDb() local
250 decibels, in volIndexToDb()
253 return decibels; in volIndexToDb()
DVolumeCurve.cpp54 float decibels = (mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f) + in volIndexToDb() local
65 ((float)mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f), decibels, in volIndexToDb()
68 return decibels; in volIndexToDb()