Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp3047 int volIdx = (nbSteps * (indexInUi - streamDesc.mIndexMin)) / in volIndexToAmpl() local
3052 if (volIdx < curve[VOLMIN].mIndex) { // out of bounds in volIndexToAmpl()
3054 } else if (volIdx < curve[VOLKNEE1].mIndex) { in volIndexToAmpl()
3056 } else if (volIdx < curve[VOLKNEE2].mIndex) { in volIndexToAmpl()
3058 } else if (volIdx <= curve[VOLMAX].mIndex) { in volIndexToAmpl()
3066 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToAmpl()
3075 curve[segment].mIndex, volIdx, in volIndexToAmpl()