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.cpp76 size_t orderOfDesiredRate = mSamplingRates.orderOf(samplingRate); in checkCompatibleSamplingRate() local
79 if (orderOfDesiredRate < mSamplingRates.size()) { in checkCompatibleSamplingRate()
80 uint32_t candidate = mSamplingRates[orderOfDesiredRate]; in checkCompatibleSamplingRate()
87 if (orderOfDesiredRate != 0) { in checkCompatibleSamplingRate()
88 uint32_t candidate = mSamplingRates[orderOfDesiredRate - 1]; in checkCompatibleSamplingRate()