Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeCurve.cpp26 float VolumeCurve::volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax) const in volIndexToDb() argument
29 if (volIndexMin < 0 || volIndexMax < 0) { in volIndexToDb()
33 if (indexInUi < volIndexMin) { in volIndexToDb()
36 ALOGV("VOLUME forcing mute for index 0 with min index %d", volIndexMin); in volIndexToDb()
39 ALOGV("VOLUME remapping index from %d to min index %d", indexInUi, volIndexMin); in volIndexToDb()
40 indexInUi = volIndexMin; in volIndexToDb()
49 int volIdx = (nbSteps * (indexInUi - volIndexMin)) / (volIndexMax - volIndexMin); in volIndexToDb()
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeCurve.h59 float volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax) const;