Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5799 float maxSrc = (float)srcCurves.getVolumeIndexMax(); in rescaleVolumeIndex() local
5809 } else if (srcIndex > maxSrc) { in rescaleVolumeIndex()
5810 srcIndex = maxSrc; in rescaleVolumeIndex()
5812 return (int)(minDst + ((srcIndex - minSrc) * (maxDst - minDst)) / (maxSrc - minSrc)); in rescaleVolumeIndex()