summaryrefslogtreecommitdiffstats
path: root/media/libeffects/data
diff options
context:
space:
mode:
authorjpadmana <rpadmanaban.jayashree@gmail.com>2013-06-04 16:08:29 +0530
committerEric Laurent <elaurent@google.com>2013-09-06 10:33:03 -0700
commit284c17e73bbff51cb5b1adcee98386d47733757a (patch)
treed400f398fd4f2e8e383256973185b7dae243f92f /media/libeffects/data
parenta19912554f3779fac0c341ac702227bf4b5fe399 (diff)
downloadframeworks_av-284c17e73bbff51cb5b1adcee98386d47733757a.zip
frameworks_av-284c17e73bbff51cb5b1adcee98386d47733757a.tar.gz
frameworks_av-284c17e73bbff51cb5b1adcee98386d47733757a.tar.bz2
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>
Diffstat (limited to 'media/libeffects/data')
-rw-r--r--media/libeffects/data/audio_effects.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/media/libeffects/data/audio_effects.conf b/media/libeffects/data/audio_effects.conf
index 93f27cb..aa48e4e 100644
--- a/media/libeffects/data/audio_effects.conf
+++ b/media/libeffects/data/audio_effects.conf
@@ -6,6 +6,23 @@
# }
# }
libraries {
+# This is a proxy library that will be an abstraction for
+# the HW and SW effects
+
+ #proxy {
+ #path /system/lib/soundfx/libProxy.so
+ #}
+
+# This is the SW implementation library of the effect
+ #libSW {
+ #path /system/lib/soundfx/libswwrapper.so
+ #}
+
+# This is the HW implementation library for the effect
+ #libHW {
+ #path /system/lib/soundfx/libhwwrapper.so
+ #}
+
bundle {
path /system/lib/soundfx/libbundlewrapper.so
}
@@ -43,6 +60,28 @@ libraries {
# }
effects {
+
+# additions for the proxy implementation
+# Proxy implementation
+ #effectname {
+ #library proxy
+ #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
+
+ # SW implemetation of the effect. Added as a node under the proxy to
+ # indicate this as a sub effect.
+ #libsw {
+ #library libSW
+ #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
+ #} End of SW effect
+
+ # HW implementation of the effect. Added as a node under the proxy to
+ # indicate this as a sub effect.
+ #libhw {
+ #library libHW
+ #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
+ #}End of HW effect
+ #} End of effect proxy
+
bassboost {
library bundle
uuid 8631f300-72e2-11df-b57e-0002a5d5c51b