Searched refs:policyDesc (Results 1 – 1 of 1) sorted by relevance
1034 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt() local1036 && (policyDesc == nullptr || (policyDesc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT))) { in getOutputForAttrInt()1043 policyDesc = nullptr; in getOutputForAttrInt()1045 policyDesc = mOutputs.valueFor(newOutput); in getOutputForAttrInt()1046 primaryMix->setOutput(policyDesc); in getOutputForAttrInt()1049 if (policyDesc != nullptr) { in getOutputForAttrInt()1050 policyDesc->mPolicyMix = primaryMix; in getOutputForAttrInt()1051 *output = policyDesc->mIoHandle; in getOutputForAttrInt()