summaryrefslogtreecommitdiffstats
path: root/media/libeffects/factory
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-06-16 18:24:31 -0700
committerEric Laurent <elaurent@google.com>2011-06-16 18:28:54 -0700
commit342484f01824ab45af953c7c9193b1e5ad6326de (patch)
tree1ef53f2977ec4f00145c0011038fae0d11398bc8 /media/libeffects/factory
parent01bded1246cd770b54b8011527f5c29e1b5663e3 (diff)
downloadframeworks_av-342484f01824ab45af953c7c9193b1e5ad6326de.zip
frameworks_av-342484f01824ab45af953c7c9193b1e5ad6326de.tar.gz
frameworks_av-342484f01824ab45af953c7c9193b1e5ad6326de.tar.bz2
Fix regression in audio effect factory
commit 0fb66c2 introduced a bug in EffectCreate() that prevents detection of problems reported by the engine library upon effect creation. Change-Id: I5bd2d42505ac29ab4a5768fd7f0c2ced135cf3e3
Diffstat (limited to 'media/libeffects/factory')
-rw-r--r--media/libeffects/factory/EffectsFactory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libeffects/factory/EffectsFactory.c b/media/libeffects/factory/EffectsFactory.c
index b0e8585..a3e76d9 100644
--- a/media/libeffects/factory/EffectsFactory.c
+++ b/media/libeffects/factory/EffectsFactory.c
@@ -257,7 +257,7 @@ int EffectCreate(effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_ha
}
// create effect in library
- l->desc->create_effect(uuid, sessionId, ioId, &itfe);
+ ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe);
if (ret != 0) {
LOGW("EffectCreate() library %s: could not create fx %s, error %d", l->name, d->name, ret);
goto exit;