Home
last modified time | relevance | path

Searched refs:effectDesc (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp73 sp<EffectDescriptor> effectDesc = new EffectDescriptor(); in registerEffect() local
74 memcpy (&effectDesc->mDesc, desc, sizeof(effect_descriptor_t)); in registerEffect()
75 effectDesc->mIo = io; in registerEffect()
76 effectDesc->mStrategy = static_cast<routing_strategy>(strategy); in registerEffect()
77 effectDesc->mSession = session; in registerEffect()
78 effectDesc->mEnabled = false; in registerEffect()
80 add(id, effectDesc); in registerEffect()
93 sp<EffectDescriptor> effectDesc = valueAt(index); in unregisterEffect() local
95 setEffectEnabled(effectDesc, false); in unregisterEffect()
97 if (mTotalEffectsMemory < effectDesc->mDesc.memoryUsage) { in unregisterEffect()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h56 status_t setEffectEnabled(const sp<EffectDescriptor> &effectDesc, bool enabled);