blob: c3c4b671409ce6364a3ae274be8104ef693b9719 [file] [log] [blame]
Eric Laurente1315cf2011-05-17 19:16:02 -07001# List of effect libraries to load. Each library element must contain a "path" element
2# giving the full path of the library .so file.
Eric Laurent7c7f10b2011-06-17 21:29:58 -07003# libraries {
4# <lib name> {
5# path <lib path>
6# }
7# }
Eric Laurente1315cf2011-05-17 19:16:02 -07008libraries {
jpadmana2eab94f2013-06-04 16:08:29 +05309# This is a proxy library that will be an abstraction for
10# the HW and SW effects
11
12 #proxy {
jpadmanafaca05e2013-06-04 16:03:29 +053013 #path /system/lib/soundfx/libeffectproxy.so
jpadmana2eab94f2013-06-04 16:08:29 +053014 #}
15
16# This is the SW implementation library of the effect
17 #libSW {
18 #path /system/lib/soundfx/libswwrapper.so
19 #}
20
21# This is the HW implementation library for the effect
22 #libHW {
23 #path /system/lib/soundfx/libhwwrapper.so
24 #}
25
Eric Laurente1315cf2011-05-17 19:16:02 -070026 bundle {
27 path /system/lib/soundfx/libbundlewrapper.so
28 }
29 reverb {
30 path /system/lib/soundfx/libreverbwrapper.so
31 }
32 visualizer {
33 path /system/lib/soundfx/libvisualizer.so
34 }
Jean-Michel Trivi7d5b2622012-04-04 18:54:36 -070035 downmix {
36 path /system/lib/soundfx/libdownmix.so
37 }
Jean-Michel Trivi6cc3a992013-09-10 09:15:18 -070038 loudness_enhancer {
39 path /system/lib/soundfx/libldnhncr.so
40 }
Eric Laurente1315cf2011-05-17 19:16:02 -070041}
42
Eric Laurent199862e2012-09-07 17:31:18 -070043# Default pre-processing library. Add to audio_effect.conf "libraries" section if
44# audio HAL implements support for default software audio pre-processing effects
45#
46# pre_processing {
47# path /system/lib/soundfx/libaudiopreprocessing.so
48# }
49
Eric Laurente1315cf2011-05-17 19:16:02 -070050# list of effects to load. Each effect element must contain a "library" and a "uuid" element.
51# The value of the "library" element must correspond to the name of one library element in the
52# "libraries" element.
53# The name of the effect element is indicative, only the value of the "uuid" element
54# designates the effect.
Eric Laurent7c7f10b2011-06-17 21:29:58 -070055# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
56# generic effect type UUID.
57# effects {
58# <fx name> {
59# library <lib name>
60# uuid <effect uuid>
61# }
62# ...
63# }
64
Eric Laurente1315cf2011-05-17 19:16:02 -070065effects {
jpadmana2eab94f2013-06-04 16:08:29 +053066
67# additions for the proxy implementation
68# Proxy implementation
69 #effectname {
70 #library proxy
71 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
72
73 # SW implemetation of the effect. Added as a node under the proxy to
74 # indicate this as a sub effect.
75 #libsw {
76 #library libSW
77 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
78 #} End of SW effect
79
80 # HW implementation of the effect. Added as a node under the proxy to
81 # indicate this as a sub effect.
82 #libhw {
83 #library libHW
84 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
85 #}End of HW effect
86 #} End of effect proxy
87
Eric Laurente1315cf2011-05-17 19:16:02 -070088 bassboost {
89 library bundle
90 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
91 }
92 virtualizer {
93 library bundle
94 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
95 }
96 equalizer {
97 library bundle
98 uuid ce772f20-847d-11df-bb17-0002a5d5c51b
99 }
100 volume {
101 library bundle
Jean-Michel Trivie7c795f2012-03-02 09:58:05 -0800102 uuid 119341a0-8469-11df-81f9-0002a5d5c51b
Eric Laurente1315cf2011-05-17 19:16:02 -0700103 }
104 reverb_env_aux {
105 library reverb
Jean-Michel Trivie7c795f2012-03-02 09:58:05 -0800106 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
Eric Laurente1315cf2011-05-17 19:16:02 -0700107 }
108 reverb_env_ins {
109 library reverb
110 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
111 }
112 reverb_pre_aux {
113 library reverb
114 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
115 }
116 reverb_pre_ins {
117 library reverb
118 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
119 }
120 visualizer {
121 library visualizer
122 uuid d069d9e0-8329-11df-9168-0002a5d5c51b
123 }
Jean-Michel Trivi7d5b2622012-04-04 18:54:36 -0700124 downmix {
125 library downmix
126 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
127 }
Jean-Michel Trivi6cc3a992013-09-10 09:15:18 -0700128 loudness_enhancer {
129 library loudness_enhancer
130 uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
131 }
Eric Laurente1315cf2011-05-17 19:16:02 -0700132}
Eric Laurent199862e2012-09-07 17:31:18 -0700133
134# Default pre-processing effects. Add to audio_effect.conf "effects" section if
135# audio HAL implements support for them.
136#
137# agc {
138# library pre_processing
139# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
140# }
141# aec {
142# library pre_processing
143# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
144# }
145# ns {
146# library pre_processing
147# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
148# }
149
Eric Laurent7c7f10b2011-06-17 21:29:58 -0700150# Audio preprocessor configurations.
151# The pre processor configuration consists in a list of elements each describing
152# pre processor settings for a given input source. Valid input source names are:
153# "mic", "camcorder", "voice_recognition", "voice_communication"
154# Each input source element contains a list of effects elements. The name of the effect
155# element must be the name of one of the effects in the "effects" list of the file.
156# Each effect element may optionally contain a list of parameters and their
157# default value to apply when the pre processor effect is created.
158# A parameter is defined by a "param" element and a "value" element. Each of these elements
159# consists in one or more elements specifying a type followed by a value.
160# The types defined are: "int", "short", "float", "bool" and "string"
161# When both "param" and "value" are a single int, a simple form is allowed where just
162# the param and value pair is present in the parameter description
163# pre_processing {
164# <input source name> {
165# <fx name> {
166# <param 1 name> {
167# param {
168# int|short|float|bool|string <value>
169# [ int|short|float|bool|string <value> ]
170# ...
171# }
172# value {
173# int|short|float|bool|string <value>
174# [ int|short|float|bool|string <value> ]
175# ...
176# }
177# }
178# <param 2 name > {<param> <value>}
179# ...
180# }
181# ...
182# }
183# ...
184# }
185
186#
187# TODO: add default audio pre processor configurations after debug and tuning phase
188#