blob: 13f9ac5670a3af2614e318cc0f26a7ad37bcfa51 [file] [log] [blame]
Xiaoyu Ye4322f152017-03-17 12:34:03 -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 {
Naresh Tanniru10758b62017-06-05 21:05:53 +053010 path /vendor/lib/soundfx/libbundlewrapper.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070011 }
12 reverb {
Naresh Tanniru10758b62017-06-05 21:05:53 +053013 path /vendor/lib/soundfx/libreverbwrapper.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070014 }
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 {
Naresh Tanniru10758b62017-06-05 21:05:53 +053025 path /vendor/lib/soundfx/libvisualizer.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070026 }
27 visualizer_hw {
Naresh Tanniru10758b62017-06-05 21:05:53 +053028 path /vendor/lib/soundfx/libqcomvisualizer.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070029 }
30 downmix {
Naresh Tanniru10758b62017-06-05 21:05:53 +053031 path /vendor/lib/soundfx/libdownmix.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070032 }
33 loudness_enhancer {
Naresh Tanniru10758b62017-06-05 21:05:53 +053034 path /vendor/lib/soundfx/libldnhncr.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070035 }
36 proxy {
Naresh Tanniru10758b62017-06-05 21:05:53 +053037 path /vendor/lib/soundfx/libeffectproxy.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070038 }
39 offload_bundle {
Naresh Tanniru10758b62017-06-05 21:05:53 +053040 path /vendor/lib/soundfx/libqcompostprocbundle.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070041 }
42 audio_pre_processing {
Naresh Tanniru10758b62017-06-05 21:05:53 +053043 path /vendor/lib/soundfx/libqcomvoiceprocessing.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070044 }
45 volume_listener {
Naresh Tanniru10758b62017-06-05 21:05:53 +053046 path /vendor/lib/soundfx/libvolumelistener.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070047 }
48 audiosphere {
Naresh Tanniru10758b62017-06-05 21:05:53 +053049 path /vendor/lib/soundfx/libasphere.so
Xiaoyu Ye4322f152017-03-17 12:34:03 -070050 }
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 audiosphere {
256 library audiosphere
257 uuid 184e62ab-2d19-4364-9d1b-c0a40733866c
258 }
259}
260
261# additional effect from vendor
262# UUID generated using version 1
263
264output_session_processing {
265 music {
266 music_helper {
267 }
268 }
269 ring {
270 ring_helper {
271 }
272 }
273 alarm {
274 alarm_helper {
275 }
276 }
277 # stream type voice_call is used for VoIP call
278 voice_call {
279 voice_helper {
280 }
281 }
282 notification {
283 notification_helper {
284 }
285 }
286}
287
288# Added aec, ns effects for voice_communication, which are supported by the board
289
290pre_processing {
291 voice_communication {
292 aec {
293 }
294 ns {
295 }
296 }
297}
298
299# Default pre-processing effects. Add to audio_effect.conf "effects" section if
300# audio HAL implements support for them.
301#
302# agc {
303# library pre_processing
304# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
305# }
306# aec {
307# library pre_processing
308# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
309# }
310# ns {
311# library pre_processing
312# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
313# }
314
315# Audio preprocessor configurations.
316# The pre processor configuration consists in a list of elements each describing
317# pre processor settings for a given input source. Valid input source names are:
318# "mic", "camcorder", "voice_recognition", "voice_communication"
319# Each input source element contains a list of effects elements. The name of the effect
320# element must be the name of one of the effects in the "effects" list of the file.
321# Each effect element may optionally contain a list of parameters and their
322# default value to apply when the pre processor effect is created.
323# A parameter is defined by a "param" element and a "value" element. Each of these elements
324# consists in one or more elements specifying a type followed by a value.
325# The types defined are: "int", "short", "float", "bool" and "string"
326# When both "param" and "value" are a single int, a simple form is allowed where just
327# the param and value pair is present in the parameter description
328# pre_processing {
329# <input source name> {
330# <fx name> {
331# <param 1 name> {
332# param {
333# int|short|float|bool|string <value>
334# [ int|short|float|bool|string <value> ]
335# ...
336# }
337# value {
338# int|short|float|bool|string <value>
339# [ int|short|float|bool|string <value> ]
340# ...
341# }
342# }
343# <param 2 name > {<param> <value>}
344# ...
345# }
346# ...
347# }
348# ...
349# }
350
351#
352# TODO: add default audio pre processor configurations after debug and tuning phase
353#