Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp62 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(); in registerMix() local
63 policyMix->setMix(mix); in registerMix()
64 add(address, policyMix); in registerMix()
67 desc->mPolicyMix = policyMix->getMix(); in registerMix()
68 policyMix->setOutput(desc); in registerMix()
86 sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()
93 policyMix = valueAt(index); in getAudioPolicyMix()
100 sp<AudioPolicyMix> policyMix = valueAt(i); in closeOutput() local
101 if (policyMix->getOutput() == desc) { in closeOutput()
102 policyMix->clearOutput(); in closeOutput()
[all …]
DAudioSession.cpp37 AudioMix* policyMix, in AudioSession() argument
42 mOpenCount(1), mActiveCount(0), mPolicyMix(policyMix), mClientInterface(clientInterface),
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h55 status_t getAudioPolicyMix(String8 address, sp<AudioPolicyMix> &policyMix) const;
77 AudioMix **policyMix);
79 status_t getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix);
DAudioSession.h42 AudioMix* policyMix,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1093 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()
[all …]
DAudioPolicyManager.h630 AudioMix *policyMix);
644 AudioMix **policyMix = NULL);