Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp147 size_t orderOfDesiredRate = mSamplingRates.orderOf(samplingRate); in checkCompatibleSamplingRate() local
150 if (orderOfDesiredRate < mSamplingRates.size()) { in checkCompatibleSamplingRate()
151 uint32_t candidate = mSamplingRates[orderOfDesiredRate]; in checkCompatibleSamplingRate()
158 if (orderOfDesiredRate != 0) { in checkCompatibleSamplingRate()
159 uint32_t candidate = mSamplingRates[orderOfDesiredRate - 1]; in checkCompatibleSamplingRate()