Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp823 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput() local
824 if (!curProfile->isCompatibleProfile(devices, in getProfileForOutput()
832 if (!mAvailableOutputDevices.containsAtLeastOne(curProfile->getSupportedDevices())) { in getProfileForOutput()
836 if (!curProfile->devicesSupportEncodedFormats(devices.types())) { in getProfileForOutput()
839 if (!directOnly) return curProfile; in getProfileForOutput()
842 … if (profile != 0 && ((curProfile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) == 0)) { in getProfileForOutput()
845 profile = curProfile; in getProfileForOutput()