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.cpp123 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(); in registerMix() local
124 policyMix->setMix(mix); in registerMix()
125 add(address, policyMix); in registerMix()
128 desc->mPolicyMix = policyMix->getMix(); in registerMix()
129 policyMix->setOutput(desc); in registerMix()
147 sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()
154 policyMix = valueAt(index); in getAudioPolicyMix()
161 sp<AudioPolicyMix> policyMix = valueAt(i); in closeOutput() local
162 if (policyMix->getOutput() == desc) { in closeOutput()
163 policyMix->clearOutput(); in closeOutput()
[all …]
DAudioSession.cpp39 AudioMix* policyMix, in AudioSession() argument
44 mOpenCount(1), mActiveCount(0), mPolicyMix(policyMix), mClientInterface(clientInterface),
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h57 status_t getAudioPolicyMix(const String8& address, sp<AudioPolicyMix> &policyMix) const;
79 AudioMix **policyMix);
81 status_t getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix);
DAudioSession.h42 AudioMix* policyMix,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1183 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()
[all …]
DAudioPolicyManager.h646 AudioMix *policyMix);
660 AudioMix **policyMix = NULL);