Lines Matching refs:effect
123 EffectDesc *effect = effects[i]; in addInputEffects() local
124 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, -1, 0, in addInputEffects()
129 effect->mName, (int32_t)aliasSource); in addInputEffects()
133 for (size_t j = 0; j < effect->mParams.size(); j++) { in addInputEffects()
134 fx->setParameter(effect->mParams[j]); in addInputEffects()
137 effect->mName, (int32_t)aliasSource); in addInputEffects()
272 EffectDesc *effect = effects[i]; in addOutputSessionEffects() local
273 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, 0, 0, 0, in addOutputSessionEffects()
278 effect->mName, audioSession); in addOutputSessionEffects()
283 effect->mName, audioSession, (int32_t)stream); in addOutputSessionEffects()
380 EffectDesc *effect = new EffectDesc( in addSourceDefaultEffect() local
382 desc->mEffects.add(effect); in addSourceDefaultEffect()
445 EffectDesc *effect = new EffectDesc( in addStreamDefaultEffect() local
447 desc->mEffects.add(effect); in addStreamDefaultEffect()
795 EffectDesc *effect = new EffectDesc(*effects[i]); // deep copy in loadEffectConfig() local
796 loadEffectParameters(node, effect->mParams); in loadEffectConfig()
798 effect->mName, effect->mUuid.timeLow); in loadEffectConfig()
799 desc->mEffects.add(effect); in loadEffectConfig()
887 EffectDesc *effect = loadEffect(node); in loadEffects() local
888 if (effect == NULL) { in loadEffects()
892 effects.add(effect); in loadEffects()
907 for (auto& effect : stream.effects) { in loadAudioEffectXmlConfig() local
909 new EffectDesc{effect.get().name.c_str(), effect.get().uuid}); in loadAudioEffectXmlConfig()
919 for (auto& effect : deviceProcess.effects) { in loadAudioEffectXmlConfig() local
921 new EffectDesc{effect.get().name.c_str(), effect.get().uuid}); in loadAudioEffectXmlConfig()