Searched refs:policyMix (Results 1 – 6 of 6) sorted by relevance
92 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local93 add(policyMix); in registerMix()95 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()98 desc->mPolicyMix = policyMix; in registerMix()99 policyMix->setOutput(desc); in registerMix()123 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()131 policyMix = itemAt(i); in getAudioPolicyMix()146 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local147 if (policyMix->getOutput() == desc) { in closeOutput()148 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);
229 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local230 if (policyMix != nullptr in setDeviceConnectionStateInt()231 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()232 && device->address() == policyMix->mDeviceAddress.string()) { in setDeviceConnectionStateInt()1666 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local1668 if (policyMix != nullptr) { in startSource()1670 address = policyMix->mDeviceAddress.string(); in startSource()1671 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()1674 newDeviceType = policyMix->mDeviceType; in startSource()1801 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()[all …]
878 const sp<AudioPolicyMix> &policyMix);