Searched refs:policyMix (Results 1 – 6 of 6) sorted by relevance
86 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local87 add(policyMix); in registerMix()89 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()92 desc->mPolicyMix = policyMix; in registerMix()93 policyMix->setOutput(desc); in registerMix()117 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()125 policyMix = itemAt(i); in getAudioPolicyMix()140 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local141 if (policyMix->getOutput() == desc) { in closeOutput()142 policyMix->clearOutput(); in closeOutput()[all …]
334 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local336 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()338 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()342 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()344 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
116 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local117 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in setClientActive()119 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
56 const String8& address, sp<AudioPolicyMix> &policyMix) const;80 sp<AudioPolicyMix> *policyMix) const;92 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix);
228 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local229 if (policyMix != nullptr in setDeviceConnectionStateInt()230 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()231 && device->address() == policyMix->mDeviceAddress.string()) { in setDeviceConnectionStateInt()1613 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local1615 if (policyMix != NULL) { in startSource()1617 address = policyMix->mDeviceAddress.string(); in startSource()1618 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()1621 newDeviceType = policyMix->mDeviceType; in startSource()1748 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()[all …]
855 const sp<AudioPolicyMix> &policyMix);