Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1259 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt() local
1260 bool tryDirectForFlags = policyDesc == nullptr || in getOutputForAttrInt()
1261 (policyDesc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) || in getOutputForAttrInt()
1267 bool tryDirectForChannelMask = policyDesc != nullptr in getOutputForAttrInt()
1268 && (audio_channel_count_from_out_mask(policyDesc->getConfig().channel_mask) < in getOutputForAttrInt()
1277 policyDesc = mOutputs.valueFor(newOutput); in getOutputForAttrInt()
1278 primaryMix->setOutput(policyDesc); in getOutputForAttrInt()
1281 policyDesc = nullptr; in getOutputForAttrInt()
1284 if (policyDesc != nullptr) { in getOutputForAttrInt()
1285 policyDesc->mPolicyMix = primaryMix; in getOutputForAttrInt()
[all …]