blob: 5539eb006952759ca81f2d53321b824ea25e8b9b [file] [log] [blame]
Vineeta Srivastava4248fd42014-05-02 16:20:41 -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 visualizer_sw {
16 path /system/lib/soundfx/libvisualizer.so
17 }
18 visualizer_hw {
19 path /system/lib/soundfx/libqcomvisualizer.so
20 }
21 downmix {
22 path /system/lib/soundfx/libdownmix.so
23 }
24 proxy {
25 path /system/lib/soundfx/libeffectproxy.so
26 }
27 qcom_pre_processing {
28 path /system/lib/soundfx/libqcomvoiceprocessing.so
29 }
Jean-Michel Trivi0e1e2c52014-10-24 15:39:57 -070030 loudness_enhancer {
31 path /system/lib/soundfx/libldnhncr.so
32 }
Vineeta Srivastava4248fd42014-05-02 16:20:41 -070033}
34
35# Default pre-processing library. Add to audio_effect.conf "libraries" section if
36# audio HAL implements support for default software audio pre-processing effects
37#
38# pre_processing {
39# path /system/lib/soundfx/libaudiopreprocessing.so
40# }
41
42# list of effects to load. Each effect element must contain a "library" and a "uuid" element.
43# The value of the "library" element must correspond to the name of one library element in the
44# "libraries" element.
45# The name of the effect element is indicative, only the value of the "uuid" element
46# designates the effect.
47# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
48# generic effect type UUID.
49# effects {
50# <fx name> {
51# library <lib name>
52# uuid <effect uuid>
53# }
54# ...
55# }
56
57effects {
58
59# additions for the proxy implementation
60# Proxy implementation
61 #effectname {
62 #library proxy
63 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
64
65 # SW implemetation of the effect. Added as a node under the proxy to
66 # indicate this as a sub effect.
67 #libsw {
68 #library libSW
69 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
70 #} End of SW effect
71
72 # HW implementation of the effect. Added as a node under the proxy to
73 # indicate this as a sub effect.
74 #libhw {
75 #library libHW
76 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
77 #}End of HW effect
78 #} End of effect proxy
79
80 bassboost {
81 library bundle
82 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
83 }
84 virtualizer {
85 library bundle
86 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
87 }
88 equalizer {
89 library bundle
90 uuid ce772f20-847d-11df-bb17-0002a5d5c51b
91 }
92 volume {
93 library bundle
94 uuid 119341a0-8469-11df-81f9-0002a5d5c51b
95 }
96 reverb_env_aux {
97 library reverb
98 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
99 }
100 reverb_env_ins {
101 library reverb
102 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
103 }
104 reverb_pre_aux {
105 library reverb
106 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
107 }
108 reverb_pre_ins {
109 library reverb
110 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
111 }
112 visualizer {
113 library proxy
114 uuid ec7178ec-e5e1-4432-a3f4-4657e6795210
115
116 libsw {
117 library visualizer_sw
118 uuid d069d9e0-8329-11df-9168-0002a5d5c51b
119 }
120
121 libhw {
122 library visualizer_hw
123 uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b
124 }
125 }
126 downmix {
127 library downmix
128 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
129 }
Jean-Michel Trivi0e1e2c52014-10-24 15:39:57 -0700130 loudness_enhancer {
131 library loudness_enhancer
132 uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
133 }
Vineeta Srivastava4248fd42014-05-02 16:20:41 -0700134 aec {
135 library qcom_pre_processing
Eric Laurentf2b4c4b2014-10-02 14:39:57 -0700136 uuid 3770d8a0-4a7c-11e4-ac15-0002a5d5c51b
Vineeta Srivastava4248fd42014-05-02 16:20:41 -0700137 }
Harini Peddibhotla08125b82014-10-06 16:08:52 -0500138 ns {
139 library qcom_pre_processing
140 uuid 5a96f440-4a7c-11e4-8477-0002a5d5c51b
141 }
Vineeta Srivastava4248fd42014-05-02 16:20:41 -0700142}
143
144# Default pre-processing effects. Add to audio_effect.conf "effects" section if
145# audio HAL implements support for them.
146#
147# agc {
148# library pre_processing
149# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
150# }
151# aec {
152# library pre_processing
153# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
154# }
155# ns {
156# library pre_processing
157# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
158# }
159
160# Audio preprocessor configurations.
161# The pre processor configuration consists in a list of elements each describing
162# pre processor settings for a given input source. Valid input source names are:
163# "mic", "camcorder", "voice_recognition", "voice_communication"
164# Each input source element contains a list of effects elements. The name of the effect
165# element must be the name of one of the effects in the "effects" list of the file.
166# Each effect element may optionally contain a list of parameters and their
167# default value to apply when the pre processor effect is created.
168# A parameter is defined by a "param" element and a "value" element. Each of these elements
169# consists in one or more elements specifying a type followed by a value.
170# The types defined are: "int", "short", "float", "bool" and "string"
171# When both "param" and "value" are a single int, a simple form is allowed where just
172# the param and value pair is present in the parameter description
173# pre_processing {
174# <input source name> {
175# <fx name> {
176# <param 1 name> {
177# param {
178# int|short|float|bool|string <value>
179# [ int|short|float|bool|string <value> ]
180# ...
181# }
182# value {
183# int|short|float|bool|string <value>
184# [ int|short|float|bool|string <value> ]
185# ...
186# }
187# }
188# <param 2 name > {<param> <value>}
189# ...
190# }
191# ...
192# }
193# ...
194# }
195
196#
197# TODO: add default audio pre processor configurations after debug and tuning phase
198#
Harini Peddibhotla08125b82014-10-06 16:08:52 -0500199pre_processing {
200 voice_communication {
201 aec {}
202 ns {}
203 }
204}