OSDN Git Service

Effects Factory changes for effects offload
authorjpadmana <rpadmanaban.jayashree@gmail.com>
Tue, 4 Jun 2013 10:38:29 +0000 (16:08 +0530)
committerEric Laurent <elaurent@google.com>
Fri, 6 Sep 2013 17:33:03 +0000 (10:33 -0700)
commit284c17e73bbff51cb5b1adcee98386d47733757a
treed400f398fd4f2e8e383256973185b7dae243f92f
parenta19912554f3779fac0c341ac702227bf4b5fe399
Effects Factory changes for effects offload

audio_effects.conf - commented changes to illustrate the
addition of Proxy and sub effects to the conf file

Added an effectFactoryApi - EffectGetSubEffects for querying the
sub effect descriptors from the factory. This api is used by the Proxy
to get the sub effects

Added functions and data structures in factory code for
loading the sub effects

gSubEffectList - has the Proxies and their corresponding sub effects

- addSubEffect() - reads a sub effect node and adds to the gSubEffectList
- findSubEffect() - searches through the gSubEffectList to find a SubEffect

Bug: 8174034.

Change-Id: I25b0c62b2ad523a52337128b51469e628209ea3e
Signed-off-by: jpadmana <rpadmanaban.jayashree@gmail.com>
include/media/EffectsFactoryApi.h
media/libeffects/data/audio_effects.conf
media/libeffects/factory/EffectsFactory.c
media/libeffects/factory/EffectsFactory.h