Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp959 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt() local
961 && (policyDesc == nullptr || (policyDesc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT))) { in getOutputForAttrInt()
968 policyDesc = nullptr; in getOutputForAttrInt()
970 policyDesc = mOutputs.valueFor(newOutput); in getOutputForAttrInt()
971 primaryMix->setOutput(policyDesc); in getOutputForAttrInt()
974 if (policyDesc != nullptr) { in getOutputForAttrInt()
975 policyDesc->mPolicyMix = primaryMix; in getOutputForAttrInt()
976 *output = policyDesc->mIoHandle; in getOutputForAttrInt()