Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp897 for (const auto& curProfile : hwModule->getOutputProfiles()) { in getProfileForOutput() local
898 if (!curProfile->isCompatibleProfile(devices, in getProfileForOutput()
906 if (!mAvailableOutputDevices.containsAtLeastOne(curProfile->getSupportedDevices())) { in getProfileForOutput()
910 if (!curProfile->devicesSupportEncodedFormats(devices.types())) { in getProfileForOutput()
913 if (!directOnly) return curProfile; in getProfileForOutput()
916 … if (profile != 0 && ((curProfile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) == 0)) { in getProfileForOutput()
919 profile = curProfile; in getProfileForOutput()