Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp850 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput() local
851 if (!curProfile->isCompatibleProfile(devices, in getProfileForOutput()
859 if (!mAvailableOutputDevices.containsAtLeastOne(curProfile->getSupportedDevices())) { in getProfileForOutput()
863 if (!curProfile->deviceSupportsEncodedFormats(devices.types())) { in getProfileForOutput()
866 if (!directOnly) return curProfile; in getProfileForOutput()
869 … if (profile != 0 && ((curProfile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) == 0)) { in getProfileForOutput()
872 profile = curProfile; in getProfileForOutput()