Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp822 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput() local
823 if (!curProfile->isCompatibleProfile(devices, in getProfileForOutput()
831 if (!mAvailableOutputDevices.containsAtLeastOne(curProfile->getSupportedDevices())) { in getProfileForOutput()
835 if (!curProfile->devicesSupportEncodedFormats(devices.types())) { in getProfileForOutput()
838 if (!directOnly) return curProfile; in getProfileForOutput()
841 … if (profile != 0 && ((curProfile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) == 0)) { in getProfileForOutput()
844 profile = curProfile; in getProfileForOutput()