Searched refs:decibels (Results 1 – 2 of 2) sorted by relevance
161 static inline float DbToAmpl(float decibels) in DbToAmpl() argument163 if (decibels <= VOLUME_MIN_DB) { in DbToAmpl()166 return exp( decibels * 0.115129f); // exp( dB * ln(10) / 20 ) in DbToAmpl()
64 float decibels = (mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f) + in volIndexToDb() local74 ((float)mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f), decibels, in volIndexToDb()77 return decibels; in volIndexToDb()