Searched refs:decibels (Results 1 – 3 of 3) sorted by relevance
146 static inline float DbToAmpl(float decibels) in DbToAmpl() argument148 if (decibels <= VOLUME_MIN_DB) { in DbToAmpl()151 return exp( decibels * 0.115129f); // exp( dB * ln(10) / 20 ) in DbToAmpl()
239 float decibels = curve[segment].mDBAttenuation + in volIndexToDb() local250 decibels, in volIndexToDb()253 return decibels; in volIndexToDb()
54 float decibels = (mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f) + in volIndexToDb() local65 ((float)mCurvePoints[indexInUiPosition - 1].mAttenuationInMb / 100.0f), decibels, in volIndexToDb()68 return decibels; in volIndexToDb()