blob: dd729c5c19bad1efba5cbda88ff0717cf997c1cf [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 {
Andy Hung16ce86c2017-05-23 14:55:09 -070013 #path /vendor/lib/soundfx/libeffectproxy.so
jpadmana2eab94f2013-06-04 16:08:29 +053014 #}
15
16# This is the SW implementation library of the effect
17 #libSW {
Andy Hung16ce86c2017-05-23 14:55:09 -070018 #path /vendor/lib/soundfx/libswwrapper.so
jpadmana2eab94f2013-06-04 16:08:29 +053019 #}
20
21# This is the HW implementation library for the effect
22 #libHW {
Andy Hung16ce86c2017-05-23 14:55:09 -070023 #path /vendor/lib/soundfx/libhwwrapper.so
jpadmana2eab94f2013-06-04 16:08:29 +053024 #}
25
Eric Laurente1315cf2011-05-17 19:16:02 -070026 bundle {
Andy Hung16ce86c2017-05-23 14:55:09 -070027 path /vendor/lib/soundfx/libbundlewrapper.so
Eric Laurente1315cf2011-05-17 19:16:02 -070028 }
29 reverb {
Andy Hung16ce86c2017-05-23 14:55:09 -070030 path /vendor/lib/soundfx/libreverbwrapper.so
Eric Laurente1315cf2011-05-17 19:16:02 -070031 }
32 visualizer {
Andy Hung16ce86c2017-05-23 14:55:09 -070033 path /vendor/lib/soundfx/libvisualizer.so
Eric Laurente1315cf2011-05-17 19:16:02 -070034 }
Jean-Michel Trivi7d5b2622012-04-04 18:54:36 -070035 downmix {
Andy Hung16ce86c2017-05-23 14:55:09 -070036 path /vendor/lib/soundfx/libdownmix.so
Jean-Michel Trivi7d5b2622012-04-04 18:54:36 -070037 }
Jean-Michel Trivi6cc3a992013-09-10 09:15:18 -070038 loudness_enhancer {
Andy Hung16ce86c2017-05-23 14:55:09 -070039 path /vendor/lib/soundfx/libldnhncr.so
Jean-Michel Trivi6cc3a992013-09-10 09:15:18 -070040 }
rago9f011fe2018-02-05 09:29:56 -080041 dynamics_processing {
42 path /vendor/lib/soundfx/libdynproc.so
43 }
Eric Laurente1315cf2011-05-17 19:16:02 -070044}
45
Eric Laurent199862e2012-09-07 17:31:18 -070046# Default pre-processing library. Add to audio_effect.conf "libraries" section if
47# audio HAL implements support for default software audio pre-processing effects
48#
49# pre_processing {
Andy Hung16ce86c2017-05-23 14:55:09 -070050# path /vendor/lib/soundfx/libaudiopreprocessing.so
Eric Laurent199862e2012-09-07 17:31:18 -070051# }
52
Eric Laurente1315cf2011-05-17 19:16:02 -070053# list of effects to load. Each effect element must contain a "library" and a "uuid" element.
54# The value of the "library" element must correspond to the name of one library element in the
55# "libraries" element.
56# The name of the effect element is indicative, only the value of the "uuid" element
57# designates the effect.
Eric Laurent7c7f10b2011-06-17 21:29:58 -070058# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
59# generic effect type UUID.
60# effects {
61# <fx name> {
62# library <lib name>
63# uuid <effect uuid>
64# }
65# ...
66# }
67
Eric Laurente1315cf2011-05-17 19:16:02 -070068effects {
jpadmana2eab94f2013-06-04 16:08:29 +053069
70# additions for the proxy implementation
71# Proxy implementation
72 #effectname {
73 #library proxy
74 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
75
76 # SW implemetation of the effect. Added as a node under the proxy to
77 # indicate this as a sub effect.
78 #libsw {
79 #library libSW
80 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
81 #} End of SW effect
82
83 # HW implementation of the effect. Added as a node under the proxy to
84 # indicate this as a sub effect.
85 #libhw {
86 #library libHW
87 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
88 #}End of HW effect
89 #} End of effect proxy
90
Eric Laurente1315cf2011-05-17 19:16:02 -070091 bassboost {
92 library bundle
93 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
94 }
95 virtualizer {
96 library bundle
97 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
98 }
99 equalizer {
100 library bundle
101 uuid ce772f20-847d-11df-bb17-0002a5d5c51b
102 }
103 volume {
104 library bundle
Jean-Michel Trivie7c795f2012-03-02 09:58:05 -0800105 uuid 119341a0-8469-11df-81f9-0002a5d5c51b
Eric Laurente1315cf2011-05-17 19:16:02 -0700106 }
107 reverb_env_aux {
108 library reverb
Jean-Michel Trivie7c795f2012-03-02 09:58:05 -0800109 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
Eric Laurente1315cf2011-05-17 19:16:02 -0700110 }
111 reverb_env_ins {
112 library reverb
113 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
114 }
115 reverb_pre_aux {
116 library reverb
117 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
118 }
119 reverb_pre_ins {
120 library reverb
121 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
122 }
123 visualizer {
124 library visualizer
125 uuid d069d9e0-8329-11df-9168-0002a5d5c51b
126 }
Jean-Michel Trivi7d5b2622012-04-04 18:54:36 -0700127 downmix {
128 library downmix
129 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
130 }
Jean-Michel Trivi6cc3a992013-09-10 09:15:18 -0700131 loudness_enhancer {
132 library loudness_enhancer
133 uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
134 }
rago9f011fe2018-02-05 09:29:56 -0800135 dynamics_processing {
136 library dynamics_processing
137 uuid e0e6539b-1781-7261-676f-6d7573696340
138 }
Eric Laurente1315cf2011-05-17 19:16:02 -0700139}
Eric Laurent199862e2012-09-07 17:31:18 -0700140
141# Default pre-processing effects. Add to audio_effect.conf "effects" section if
142# audio HAL implements support for them.
143#
144# agc {
145# library pre_processing
146# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
147# }
148# aec {
149# library pre_processing
150# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
151# }
152# ns {
153# library pre_processing
154# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
155# }
156
Eric Laurent7c7f10b2011-06-17 21:29:58 -0700157# Audio preprocessor configurations.
158# The pre processor configuration consists in a list of elements each describing
159# pre processor settings for a given input source. Valid input source names are:
160# "mic", "camcorder", "voice_recognition", "voice_communication"
161# Each input source element contains a list of effects elements. The name of the effect
162# element must be the name of one of the effects in the "effects" list of the file.
163# Each effect element may optionally contain a list of parameters and their
164# default value to apply when the pre processor effect is created.
165# A parameter is defined by a "param" element and a "value" element. Each of these elements
166# consists in one or more elements specifying a type followed by a value.
167# The types defined are: "int", "short", "float", "bool" and "string"
168# When both "param" and "value" are a single int, a simple form is allowed where just
169# the param and value pair is present in the parameter description
170# pre_processing {
171# <input source name> {
172# <fx name> {
173# <param 1 name> {
174# param {
175# int|short|float|bool|string <value>
176# [ int|short|float|bool|string <value> ]
177# ...
178# }
179# value {
180# int|short|float|bool|string <value>
181# [ int|short|float|bool|string <value> ]
182# ...
183# }
184# }
185# <param 2 name > {<param> <value>}
186# ...
187# }
188# ...
189# }
190# ...
191# }
192
193#
194# TODO: add default audio pre processor configurations after debug and tuning phase
195#