Lines Matching refs:policyMix
1183 AudioMix *policyMix = NULL; in startOutput() local
1186 policyMix = outputDesc->mPolicyMix; in startOutput()
1187 address = policyMix->mDeviceAddress.string(); in startOutput()
1188 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_RENDER) == MIX_ROUTE_FLAG_RENDER) { in startOutput()
1189 newDevice = policyMix->mDeviceType; in startOutput()
1210 if (audio_is_remote_submix_device(newDevice) && policyMix != NULL && in startOutput()
1211 policyMix->mMixType == MIX_TYPE_RECORDERS) { in startOutput()
1493 AudioMix *policyMix = NULL; in getInputForAttr() local
1517 status_t ret = mPolicyMixes.getInputMixForAttr(*attr, &policyMix); in getInputForAttr()
1525 device = getDeviceAndMixForInputSource(inputSource, &policyMix); in getInputForAttr()
1530 if (policyMix != NULL) { in getInputForAttr()
1531 address = policyMix->mDeviceAddress; in getInputForAttr()
1532 if (policyMix->mMixType == MIX_TYPE_RECORDERS) { in getInputForAttr()
1555 policyMix); in getInputForAttr()
1575 AudioMix *policyMix) in getInputForDevice() argument
1635 policyMix, mpClientInterface); in getInputForDevice()
1741 inputDesc->mPolicyMix = policyMix; in getInputForDevice()
4074 sp<AudioPolicyMix> policyMix; in AudioPolicyManager() local
4075 if (mPolicyMixes.getAudioPolicyMix(address, policyMix) != NO_ERROR) { in AudioPolicyManager()
4079 policyMix->setOutput(desc); in AudioPolicyManager()
4080 desc->mPolicyMix = policyMix->getMix(); in AudioPolicyManager()
5189 AudioMix **policyMix) in AudioPolicyManager() argument
5193 mPolicyMixes.getDeviceAndMixForInputSource(inputSource, availableDeviceTypes, policyMix); in AudioPolicyManager()