Home
last modified time | relevance | path

Searched refs:mEffects (Results 1 – 11 of 11) sorted by relevance

/frameworks/wilhelm/src/itf/
DIAndroidEffect.cpp111 thiz->mEffects = in IAndroidEffect_init()
118 if (NULL != thiz->mEffects) { in IAndroidEffect_deinit()
119 if (!thiz->mEffects->isEmpty()) { in IAndroidEffect_deinit()
120 thiz->mEffects->clear(); in IAndroidEffect_deinit()
122 delete thiz->mEffects; in IAndroidEffect_deinit()
123 thiz->mEffects = NULL; in IAndroidEffect_deinit()
/frameworks/av/services/audioflinger/
DEffects.cpp1971 size_t size = mEffects.size(); in getEffectFromDesc_l()
1974 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l()
1975 return mEffects[i]; in getEffectFromDesc_l()
1984 size_t size = mEffects.size(); in getEffectFromId_l()
1988 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l()
1989 return mEffects[i]; in getEffectFromId_l()
1999 size_t size = mEffects.size(); in getEffectFromType_l()
2002 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l()
2003 return mEffects[i]; in getEffectFromType_l()
2013 for (size_t i = 0; i < mEffects.size(); i++) { in getEffectIds()
[all …]
DEffects.h452 Vector< sp<EffectModule> > mEffects; // list of effect modules variable
DAudioFlinger.cpp2952 while (ec->mEffects.size()) { in purgeStaleEffects_l()
2953 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp69 mInputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
81 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
118 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects()
135 sessionDesc->mEffects.add(fx); in addInputEffects()
183 Vector< sp<AudioEffect> > effects = mInputSessions.valueAt(index)->mEffects; in queryDefaultInputEffects()
216 Vector< sp<AudioEffect> > effects = mOutputSessions.valueAt(index)->mEffects; in queryDefaultOutputSessionEffects()
267 Vector <EffectDesc *> effects = mOutputStreams.valueAt(index)->mEffects; in addOutputSessionEffects()
281 procDesc->mEffects.add(fx); in addOutputSessionEffects()
311 procDesc->mEffects.clear(); in releaseOutputSessionEffects()
379 desc->mEffects.add(effect); in addSourceDefaultEffect()
[all …]
DAudioPolicyEffects.h173 for (size_t j = 0; j < mEffects.size(); j++) { in ~EffectDescVector()
174 delete mEffects[j]; in ~EffectDescVector() local
177 Vector <EffectDesc *> mEffects; variable
192 Vector< sp<AudioEffect> >mEffects; variable
DAudioPolicyService.h579 std::vector<effect_descriptor_t> mEffects; variable
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp559 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux()
567 outputMix->mAndroidEffect.mEffects->valueAt(index); in android_fxSend_attachToAux()
803 if (0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))) { in android_genericFx_createEffect()
825 iae->mEffects->add(KEY_FROM_GUID(pUuid), pFx); in android_genericFx_createEffect()
835 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_releaseEffect()
840 iae->mEffects->removeItem(index); in android_genericFx_releaseEffect()
849 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_setEnabled()
854 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_setEnabled()
864 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_isEnabled()
869 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_isEnabled()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h552 return mEffects.getMaxEffectsCpuLoad(); in getMaxEffectsCpuLoad()
557 return mEffects.getMaxEffectsMemory(); in getMaxEffectsMemory()
715 EffectDescriptorCollection mEffects; // list of registered audio effects variable
DAudioPolicyManager.cpp1171 !(mEffects.isNonOffloadableEffectEnabled() || mMasterMono)) { in getOutputForDevices()
2718 mEffects.moveEffects(AUDIO_SESSION_OUTPUT_MIX, mMusicEffectOutput, output); in selectOutputForMusicEffects()
2746 return mEffects.registerEffect(desc, io, session, id, in registerEffect()
2753 if (mEffects.getEffect(id) == nullptr) { in unregisterEffect()
2756 if (mEffects.isEffectEnabled(id)) { in unregisterEffect()
2760 return mEffects.unregisterEffect(id); in unregisterEffect()
2765 EffectDescriptorCollection effects = mEffects.getEffectsForIo(io); in cleanUpEffectsForIo()
2775 sp<EffectDescriptor> effect = mEffects.getEffect(id); in setEffectEnabled()
2780 status_t status = mEffects.setEffectEnabled(id, enabled); in setEffectEnabled()
2790 mEffects.moveEffects(ids, io); in moveEffectsToIo()
[all …]
/frameworks/wilhelm/src/
Ditfstruct.h645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; member