blob: 5738cf9457b619ef7e03372e5476eb4590e211c2 [file] [log] [blame]
Banajit Goswami8b11ffe2016-04-07 01:56:17 -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.
3# libraries {
4# <lib name> {
5# path <lib path>
6# }
7# }
8libraries {
9 bundle {
10 path /system/lib/soundfx/libbundlewrapper.so
11 }
12 reverb {
13 path /system/lib/soundfx/libreverbwrapper.so
14 }
15 qcbassboost {
16 path /vendor/lib/soundfx/libqcbassboost.so
17 }
18 qcvirt {
19 path /vendor/lib/soundfx/libqcvirt.so
20 }
21 qcreverb {
22 path /vendor/lib/soundfx/libqcreverb.so
23 }
24 visualizer_sw {
25 path /system/lib/soundfx/libvisualizer.so
26 }
27 visualizer_hw {
28 path /system/lib/soundfx/libqcomvisualizer.so
29 }
30 downmix {
31 path /system/lib/soundfx/libdownmix.so
32 }
33 loudness_enhancer {
34 path /system/lib/soundfx/libldnhncr.so
35 }
36 proxy {
37 path /system/lib/soundfx/libeffectproxy.so
38 }
39 offload_bundle {
40 path /system/lib/soundfx/libqcompostprocbundle.so
41 }
42 audio_pre_processing {
43 path /system/lib/soundfx/libqcomvoiceprocessing.so
44 }
45 loudness_enhancer {
46 path /system/lib/soundfx/libldnhncr.so
47 }
48 volume_listener {
49 path /system/lib/soundfx/libvolumelistener.so
50 }
51}
52
53# Default pre-processing library. Add to audio_effect.conf "libraries" section if
54# audio HAL implements support for default software audio pre-processing effects
55#
56# pre_processing {
57# path /system/lib/soundfx/libaudiopreprocessing.so
58# }
59
60# list of effects to load. Each effect element must contain a "library" and a "uuid" element.
61# The value of the "library" element must correspond to the name of one library element in the
62# "libraries" element.
63# The name of the effect element is indicative, only the value of the "uuid" element
64# designates the effect.
65# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
66# generic effect type UUID.
67# effects {
68# <fx name> {
69# library <lib name>
70# uuid <effect uuid>
71# }
72# ...
73# }
74
75effects {
76
77# additions for the proxy implementation
78# Proxy implementation
79 #effectname {
80 #library proxy
81 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
82
83 # SW implemetation of the effect. Added as a node under the proxy to
84 # indicate this as a sub effect.
85 #libsw {
86 #library libSW
87 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
88 #} End of SW effect
89
90 # HW implementation of the effect. Added as a node under the proxy to
91 # indicate this as a sub effect.
92 #libhw {
93 #library libHW
94 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
95 #}End of HW effect
96 #} End of effect proxy
97
98 bassboost {
99 library proxy
100 uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b
101
102 libsw {
103 library qcbassboost
104 uuid 23aca180-44bd-11e2-bcfd-0800200c9a66
105 }
106
107 libhw {
108 library offload_bundle
109 uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b
110 }
111 }
112 virtualizer {
113 library proxy
114 uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b
115
116 libsw {
117 library qcvirt
118 uuid e6c98a16-22a3-11e2-b87b-f23c91aec05e
119 }
120
121 libhw {
122 library offload_bundle
123 uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b
124 }
125 }
126 equalizer {
127 library proxy
128 uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b
129
130 libsw {
131 library bundle
132 uuid ce772f20-847d-11df-bb17-0002a5d5c51b
133 }
134
135 libhw {
136 library offload_bundle
137 uuid a0dac280-401c-11e3-9379-0002a5d5c51b
138 }
139 }
140 volume {
141 library bundle
142 uuid 119341a0-8469-11df-81f9-0002a5d5c51b
143 }
144 reverb_env_aux {
145 library proxy
146 uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b
147
148 libsw {
149 library qcreverb
150 uuid a8c1e5f3-293d-43cd-95ec-d5e26c02e217
151 }
152
153 libhw {
154 library offload_bundle
155 uuid 79a18026-18fd-4185-8233-0002a5d5c51b
156 }
157 }
158 reverb_env_ins {
159 library proxy
160 uuid b707403a-a1c1-4291-9573-0002a5d5c51b
161
162 libsw {
163 library qcreverb
164 uuid 791fff8b-8129-4655-83a4-59bc61034c3a
165 }
166
167 libhw {
168 library offload_bundle
169 uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b
170 }
171 }
172 reverb_pre_aux {
173 library proxy
174 uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b
175
176 libsw {
177 library qcreverb
178 uuid 53ef1db5-c0c0-445b-b060-e34d20ebb70a
179 }
180
181 libhw {
182 library offload_bundle
183 uuid 6987be09-b142-4b41-9056-0002a5d5c51b
184 }
185 }
186 reverb_pre_ins {
187 library proxy
188 uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b
189
190 libsw {
191 library qcreverb
192 uuid b08a0e38-22a5-11e2-b87b-f23c91aec05e
193 }
194
195 libhw {
196 library offload_bundle
197 uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b
198 }
199 }
200 visualizer {
201 library proxy
202 uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c
203
204 libsw {
205 library visualizer_sw
206 uuid d069d9e0-8329-11df-9168-0002a5d5c51b
207 }
208
209 libhw {
210 library visualizer_hw
211 uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b
212 }
213 }
214 downmix {
215 library downmix
216 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
217 }
218 hw_acc {
219 library offload_bundle
220 uuid 7d1580bd-297f-4683-9239-e475b6d1d69f
221 }
222 loudness_enhancer {
223 library loudness_enhancer
224 uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
225 }
226 aec {
227 library audio_pre_processing
228 uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
229 }
230 ns {
231 library audio_pre_processing
232 uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
233 }
234 music_helper {
235 library volume_listener
236 uuid 08b8b058-0590-11e5-ac71-0025b32654a0
237 }
238 ring_helper {
239 library volume_listener
240 uuid 0956df94-0590-11e5-bdbe-0025b32654a0
241 }
242 alarm_helper {
243 library volume_listener
244 uuid 09f303e2-0590-11e5-8fdb-0025b32654a0
245 }
246 # voice_helper is called when stream type is voice_call in VoIP usecase
247 voice_helper {
248 library volume_listener
249 uuid 0ace5c08-0590-11e5-ae9e-0025b32654a0
250 }
251 notification_helper {
252 library volume_listener
253 uuid 0b776dde-0590-11e5-81ba-0025b32654a0
254 }
255}
256
257# additional effect from vendor
258# UUID generated using version 1
259
260output_session_processing {
261 music {
262 music_helper {
263 }
264 }
265 ring {
266 ring_helper {
267 }
268 }
269 alarm {
270 alarm_helper {
271 }
272 }
273 # stream type voice_call is used for VoIP call
274 voice_call {
275 voice_helper {
276 }
277 }
278 notification {
279 notification_helper {
280 }
281 }
282}
283
284# Added aec, ns effects for voice_communication, which are supported by the board
285
286pre_processing {
287 voice_communication {
288 aec {
289 }
290 ns {
291 }
292 }
293}
294
295# Default pre-processing effects. Add to audio_effect.conf "effects" section if
296# audio HAL implements support for them.
297#
298# agc {
299# library pre_processing
300# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
301# }
302# aec {
303# library pre_processing
304# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
305# }
306# ns {
307# library pre_processing
308# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
309# }
310
311# Audio preprocessor configurations.
312# The pre processor configuration consists in a list of elements each describing
313# pre processor settings for a given input source. Valid input source names are:
314# "mic", "camcorder", "voice_recognition", "voice_communication"
315# Each input source element contains a list of effects elements. The name of the effect
316# element must be the name of one of the effects in the "effects" list of the file.
317# Each effect element may optionally contain a list of parameters and their
318# default value to apply when the pre processor effect is created.
319# A parameter is defined by a "param" element and a "value" element. Each of these elements
320# consists in one or more elements specifying a type followed by a value.
321# The types defined are: "int", "short", "float", "bool" and "string"
322# When both "param" and "value" are a single int, a simple form is allowed where just
323# the param and value pair is present in the parameter description
324# pre_processing {
325# <input source name> {
326# <fx name> {
327# <param 1 name> {
328# param {
329# int|short|float|bool|string <value>
330# [ int|short|float|bool|string <value> ]
331# ...
332# }
333# value {
334# int|short|float|bool|string <value>
335# [ int|short|float|bool|string <value> ]
336# ...
337# }
338# }
339# <param 2 name > {<param> <value>}
340# ...
341# }
342# ...
343# }
344# ...
345# }
346
347#
348# TODO: add default audio pre processor configurations after debug and tuning phase
349#