Searched refs:decibels (Results 1 – 2 of 2) sorted by relevance
150 static inline float DbToAmpl(float decibels) in DbToAmpl() argument152 if (decibels <= VOLUME_MIN_DB) { in DbToAmpl()155 return exp( decibels * 0.115129f); // exp( dB * ln(10) / 20 ) in DbToAmpl()
78 float decibels = (mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f) + in volIndexToDb() local88 ((float)mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f), decibels, in volIndexToDb()91 return decibels; in volIndexToDb()