Lines Matching refs:policyMix
1093 AudioMix *policyMix = NULL; in startOutput() local
1096 policyMix = outputDesc->mPolicyMix; in startOutput()
1097 address = policyMix->mDeviceAddress.string(); in startOutput()
1098 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_RENDER) == MIX_ROUTE_FLAG_RENDER) { in startOutput()
1099 newDevice = policyMix->mDeviceType; in startOutput()
1120 if (audio_is_remote_submix_device(newDevice) && policyMix != NULL && in startOutput()
1121 policyMix->mMixType == MIX_TYPE_RECORDERS) { in startOutput()
1384 AudioMix *policyMix = NULL; in getInputForAttr() local
1403 status_t ret = mPolicyMixes.getInputMixForAttr(*attr, &policyMix); in getInputForAttr()
1411 device = getDeviceAndMixForInputSource(inputSource, &policyMix); in getInputForAttr()
1416 if (policyMix != NULL) { in getInputForAttr()
1417 address = policyMix->mDeviceAddress; in getInputForAttr()
1418 if (policyMix->mMixType == MIX_TYPE_RECORDERS) { in getInputForAttr()
1441 policyMix); in getInputForAttr()
1460 AudioMix *policyMix) in getInputForDevice() argument
1518 policyMix, mpClientInterface); in getInputForDevice()
1580 inputDesc->mPolicyMix = policyMix; in getInputForDevice()
3754 sp<AudioPolicyMix> policyMix; in AudioPolicyManager() local
3755 if (mPolicyMixes.getAudioPolicyMix(address, policyMix) != NO_ERROR) { in AudioPolicyManager()
3759 policyMix->setOutput(desc); in AudioPolicyManager()
3760 desc->mPolicyMix = policyMix->getMix(); in AudioPolicyManager()
4873 AudioMix **policyMix) in AudioPolicyManager() argument
4877 mPolicyMixes.getDeviceAndMixForInputSource(inputSource, availableDeviceTypes, policyMix); in AudioPolicyManager()