Searched refs:mEffects (Results 1 – 10 of 10) sorted by relevance
/frameworks/wilhelm/src/itf/ |
D | IAndroidEffect.cpp | 111 thiz->mEffects = new android::KeyedVector<SLuint32, android::AudioEffect* >(); in IAndroidEffect_init() 117 if (NULL != thiz->mEffects) { in IAndroidEffect_deinit() 118 if (!thiz->mEffects->isEmpty()) { in IAndroidEffect_deinit() 119 for (size_t i = 0 ; i < thiz->mEffects->size() ; i++) { in IAndroidEffect_deinit() 120 delete thiz->mEffects->valueAt(i); in IAndroidEffect_deinit() 122 thiz->mEffects->clear(); in IAndroidEffect_deinit() 124 delete thiz->mEffects; in IAndroidEffect_deinit() 125 thiz->mEffects = NULL; in IAndroidEffect_deinit()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1361 size_t size = mEffects.size(); in getEffectFromDesc_l() 1364 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l() 1365 return mEffects[i]; in getEffectFromDesc_l() 1374 size_t size = mEffects.size(); in getEffectFromId_l() 1378 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l() 1379 return mEffects[i]; in getEffectFromId_l() 1389 size_t size = mEffects.size(); in getEffectFromType_l() 1392 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l() 1393 return mEffects[i]; in getEffectFromType_l() 1455 size_t size = mEffects.size(); in process_l() [all …]
|
D | Effects.h | 364 Vector< sp<EffectModule> > mEffects; // list of effect modules variable
|
D | AudioFlinger.cpp | 2297 while (ec->mEffects.size()) { in purgeStaleEffects_l() 2298 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyEffects.cpp | 61 mInputs.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 73 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 109 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects() 126 inputDesc->mEffects.add(fx); in addInputEffects() 172 Vector< sp<AudioEffect> > effects = mInputs.valueAt(index)->mEffects; in queryDefaultInputEffects() 205 Vector< sp<AudioEffect> > effects = mOutputSessions.valueAt(index)->mEffects; in queryDefaultOutputSessionEffects() 254 Vector <EffectDesc *> effects = mOutputStreams.valueAt(index)->mEffects; in addOutputSessionEffects() 268 procDesc->mEffects.add(fx); in addOutputSessionEffects() 297 procDesc->mEffects.clear(); in releaseOutputSessionEffects() 309 for (size_t i = 0; i < mEffects.size(); i++) { in setProcessorEnabled() [all …]
|
D | AudioPolicyEffects.h | 128 for (size_t j = 0; j < mEffects.size(); j++) { in ~EffectDescVector() 129 delete mEffects[j]; in ~EffectDescVector() local 132 Vector <EffectDesc *> mEffects; variable 147 Vector< sp<AudioEffect> >mEffects; variable
|
D | AudioPolicyManager.cpp | 1977 mEffects.add(id, effectDesc); in registerEffect() 1984 ssize_t index = mEffects.indexOfKey(id); in unregisterEffect() 1990 sp<EffectDescriptor> effectDesc = mEffects.valueAt(index); in unregisterEffect() 2003 mEffects.removeItem(id); in unregisterEffect() 2010 ssize_t index = mEffects.indexOfKey(id); in setEffectEnabled() 2016 return setEffectEnabled(mEffects.valueAt(index), enabled); in setEffectEnabled() 2050 for (size_t i = 0; i < mEffects.size(); i++) { in isNonOffloadableEffectEnabled() 2051 sp<EffectDescriptor> effectDesc = mEffects.valueAt(i); in isNonOffloadableEffectEnabled() 2320 for (size_t i = 0; i < mEffects.size(); i++) { in dump() 2321 snprintf(buffer, SIZE, "- Effect %d dump:\n", mEffects.keyAt(i)); in dump() [all …]
|
D | AudioPolicyManager.h | 828 KeyedVector<int, sp<EffectDescriptor> > mEffects; // list of registered audio effects variable
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 517 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux() 524 android::AudioEffect* pFx = outputMix->mAndroidEffect.mEffects->valueAt(index); in android_fxSend_attachToAux() 757 if (0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))) { in android_genericFx_createEffect() 779 iae->mEffects->add(KEY_FROM_GUID(pUuid), pFx); in android_genericFx_createEffect() 789 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_releaseEffect() 794 android::AudioEffect* pFx = iae->mEffects->valueAt(index); in android_genericFx_releaseEffect() 796 iae->mEffects->removeItem(index); in android_genericFx_releaseEffect() 805 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_setEnabled() 810 android::AudioEffect* pFx = iae->mEffects->valueAt(index); in android_genericFx_setEnabled() 820 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_isEnabled() [all …]
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 642 android::KeyedVector<SLuint32, android::AudioEffect* > *mEffects; member
|