Searched refs:mEffects (Results 1 – 13 of 13) sorted by relevance
/frameworks/wilhelm/src/itf/ |
D | IAndroidEffect.cpp | 111 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/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 72 mInputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 84 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 121 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects() 138 sessionDesc->mEffects.add(fx); in addInputEffects() 186 Vector< sp<AudioEffect> > effects = mInputSessions.valueAt(index)->mEffects; in queryDefaultInputEffects() 219 Vector< sp<AudioEffect> > effects = mOutputSessions.valueAt(index)->mEffects; in queryDefaultOutputSessionEffects() 270 Vector <EffectDesc *> effects = mOutputStreams.valueAt(index)->mEffects; in addOutputSessionEffects() 284 procDesc->mEffects.add(fx); in addOutputSessionEffects() 314 procDesc->mEffects.clear(); in releaseOutputSessionEffects() 382 desc->mEffects.add(effect); in addSourceDefaultEffect() [all …]
|
D | AudioPolicyEffects.h | 177 for (size_t j = 0; j < mEffects.size(); j++) { in ~EffectDescVector() 178 delete mEffects[j]; in ~EffectDescVector() local 181 Vector <EffectDesc *> mEffects; variable 196 Vector< sp<AudioEffect> >mEffects; variable 210 std::vector<std::unique_ptr<AudioEffect>> mEffects; variable
|
D | AudioPolicyService.h | 594 std::vector<effect_descriptor_t> mEffects; variable
|
D | AudioPolicyService.cpp | 1267 &data->mDeviceConfig, data->mEffects, in threadLoop() 1571 data->mEffects = effects; in recordingConfigurationUpdateCommand()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1963 size_t size = mEffects.size(); in getEffectFromDesc_l() 1966 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l() 1967 return mEffects[i]; in getEffectFromDesc_l() 1976 size_t size = mEffects.size(); in getEffectFromId_l() 1980 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l() 1981 return mEffects[i]; in getEffectFromId_l() 1991 size_t size = mEffects.size(); in getEffectFromType_l() 1994 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l() 1995 return mEffects[i]; in getEffectFromType_l() 2005 for (size_t i = 0; i < mEffects.size(); i++) { in getEffectIds() [all …]
|
D | Effects.h | 593 Vector< sp<EffectModule> > mEffects; // list of effect modules variable
|
D | AudioFlinger.cpp | 3080 while (ec->mEffects.size()) { in purgeStaleEffects_l() 3081 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l()
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 559 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/base/services/core/java/com/android/server/audio/ |
D | SoundEffectsHelper.java | 96 private final int[] mEffects = new int[AudioManager.NUM_SOUND_EFFECTS]; // indexes in mResources field in SoundEffectsHelper 249 Resource res = mResources.get(mEffects[effect]); in onPlaySoundEffect() 317 for (int i = 0; i < mEffects.length; i++) { in loadTouchSoundAssetDefaults() 318 mEffects[i] = defaultResourceIdx; in loadTouchSoundAssetDefaults() 373 mEffects[fx] = findOrAddResourceByFileName(file); in loadTouchSoundAssets()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 570 return mEffects.getMaxEffectsCpuLoad(); in getMaxEffectsCpuLoad() 575 return mEffects.getMaxEffectsMemory(); in getMaxEffectsMemory() 732 EffectDescriptorCollection mEffects; // list of registered audio effects variable
|
D | AudioPolicyManager.cpp | 1144 !(mEffects.isNonOffloadableEffectEnabled() || mMasterMono)) { in getOutputForDevices() 2714 mEffects.moveEffects(AUDIO_SESSION_OUTPUT_MIX, mMusicEffectOutput, output); in selectOutputForMusicEffects() 2744 return mEffects.registerEffect(desc, io, session, id, in registerEffect() 2751 if (mEffects.getEffect(id) == nullptr) { in unregisterEffect() 2754 if (mEffects.isEffectEnabled(id)) { in unregisterEffect() 2758 return mEffects.unregisterEffect(id); in unregisterEffect() 2763 EffectDescriptorCollection effects = mEffects.getEffectsForIo(io); in cleanUpEffectsForIo() 2773 sp<EffectDescriptor> effect = mEffects.getEffect(id); in setEffectEnabled() 2778 status_t status = mEffects.setEffectEnabled(id, enabled); in setEffectEnabled() 2788 mEffects.moveEffects(ids, io); in moveEffectsToIo() [all …]
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; member
|