Home
last modified time | relevance | path

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

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