Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp194 auto desiredRate = sampleRates.lower_bound(samplingRate); in checkCompatibleSamplingRate() local
197 if (desiredRate != sampleRates.end()) { in checkCompatibleSamplingRate()
198 if (*desiredRate / AUDIO_RESAMPLER_DOWN_RATIO_MAX <= samplingRate) { in checkCompatibleSamplingRate()
199 updatedSamplingRate = *desiredRate; in checkCompatibleSamplingRate()
204 if (desiredRate != sampleRates.begin()) { in checkCompatibleSamplingRate()
205 uint32_t candidate = *(--desiredRate); in checkCompatibleSamplingRate()