Searched refs:policyMix (Results 1 – 6 of 6) sorted by relevance
87 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local88 add(policyMix); in registerMix()90 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()93 desc->mPolicyMix = policyMix; in registerMix()94 policyMix->setOutput(desc); in registerMix()118 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()126 policyMix = itemAt(i); in getAudioPolicyMix()141 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local142 if (policyMix->getOutput() == desc) { in closeOutput()143 policyMix->clearOutput(); in closeOutput()[all …]
322 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local324 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()326 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()330 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()332 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()
55 const String8& address, sp<AudioPolicyMix> &policyMix) const;79 sp<AudioPolicyMix> *policyMix) const;91 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix);
208 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local209 if (policyMix != nullptr in setDeviceConnectionStateInt()210 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()212 policyMix->mDeviceAddress.string(), in setDeviceConnectionStateInt()1631 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local1633 if (policyMix != NULL) { in startSource()1635 address = policyMix->mDeviceAddress.string(); in startSource()1636 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()1639 newDeviceType = policyMix->mDeviceType; in startSource()1764 if (audio_is_remote_submix_device(devices.types()) && policyMix != NULL && in startSource()[all …]
837 const sp<AudioPolicyMix> &policyMix);