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