Home
last modified time | relevance | path

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

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