Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 1 | # 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 | # } |
| 8 | libraries { |
| 9 | bundle { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 10 | path /vendor/lib/soundfx/libbundlewrapper.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 11 | } |
| 12 | reverb { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 13 | path /vendor/lib/soundfx/libreverbwrapper.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 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 { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 25 | path /vendor/lib/soundfx/libvisualizer.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 26 | } |
| 27 | visualizer_hw { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 28 | path /vendor/lib/soundfx/libqcomvisualizer.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 29 | } |
| 30 | downmix { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 31 | path /vendor/lib/soundfx/libdownmix.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 32 | } |
| 33 | loudness_enhancer { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 34 | path /vendor/lib/soundfx/libldnhncr.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 35 | } |
| 36 | proxy { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 37 | path /vendor/lib/soundfx/libeffectproxy.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 38 | } |
| 39 | offload_bundle { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 40 | path /vendor/lib/soundfx/libqcompostprocbundle.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 41 | } |
| 42 | audio_pre_processing { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 43 | path /vendor/lib/soundfx/libqcomvoiceprocessing.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 44 | } |
| 45 | volume_listener { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 46 | path /vendor/lib/soundfx/libvolumelistener.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 47 | } |
| 48 | audiosphere { |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 49 | path /vendor/lib/soundfx/libasphere.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 50 | } |
Weiyin Jiang | 4aa3840 | 2017-07-10 18:54:07 +0800 | [diff] [blame] | 51 | shoebox { |
| 52 | path /vendor/lib/soundfx/libshoebox.so |
| 53 | } |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 54 | } |
| 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 { |
Weiyin Jiang | ae97a68 | 2017-06-30 13:37:47 +0800 | [diff] [blame] | 60 | # path /vendor/lib/soundfx/libaudiopreprocessing.so |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 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 | |
| 78 | effects { |
| 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 | } |
| 258 | audiosphere { |
| 259 | library audiosphere |
| 260 | uuid 184e62ab-2d19-4364-9d1b-c0a40733866c |
| 261 | } |
Weiyin Jiang | 4aa3840 | 2017-07-10 18:54:07 +0800 | [diff] [blame] | 262 | shoebox { |
| 263 | library shoebox |
| 264 | uuid 1eab784c-1a36-4b2a-b7fc-e34c44cab89e |
| 265 | } |
Xiaoyu Ye | 4322f15 | 2017-03-17 12:34:03 -0700 | [diff] [blame] | 266 | } |
| 267 | |
| 268 | # additional effect from vendor |
| 269 | # UUID generated using version 1 |
| 270 | |
| 271 | output_session_processing { |
| 272 | music { |
| 273 | music_helper { |
| 274 | } |
| 275 | } |
| 276 | ring { |
| 277 | ring_helper { |
| 278 | } |
| 279 | } |
| 280 | alarm { |
| 281 | alarm_helper { |
| 282 | } |
| 283 | } |
| 284 | # stream type voice_call is used for VoIP call |
| 285 | voice_call { |
| 286 | voice_helper { |
| 287 | } |
| 288 | } |
| 289 | notification { |
| 290 | notification_helper { |
| 291 | } |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | # Added aec, ns effects for voice_communication, which are supported by the board |
| 296 | |
| 297 | pre_processing { |
| 298 | voice_communication { |
| 299 | aec { |
| 300 | } |
| 301 | ns { |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | # Default pre-processing effects. Add to audio_effect.conf "effects" section if |
| 307 | # audio HAL implements support for them. |
| 308 | # |
| 309 | # agc { |
| 310 | # library pre_processing |
| 311 | # uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b |
| 312 | # } |
| 313 | # aec { |
| 314 | # library pre_processing |
| 315 | # uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b |
| 316 | # } |
| 317 | # ns { |
| 318 | # library pre_processing |
| 319 | # uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b |
| 320 | # } |
| 321 | |
| 322 | # Audio preprocessor configurations. |
| 323 | # The pre processor configuration consists in a list of elements each describing |
| 324 | # pre processor settings for a given input source. Valid input source names are: |
| 325 | # "mic", "camcorder", "voice_recognition", "voice_communication" |
| 326 | # Each input source element contains a list of effects elements. The name of the effect |
| 327 | # element must be the name of one of the effects in the "effects" list of the file. |
| 328 | # Each effect element may optionally contain a list of parameters and their |
| 329 | # default value to apply when the pre processor effect is created. |
| 330 | # A parameter is defined by a "param" element and a "value" element. Each of these elements |
| 331 | # consists in one or more elements specifying a type followed by a value. |
| 332 | # The types defined are: "int", "short", "float", "bool" and "string" |
| 333 | # When both "param" and "value" are a single int, a simple form is allowed where just |
| 334 | # the param and value pair is present in the parameter description |
| 335 | # pre_processing { |
| 336 | # <input source name> { |
| 337 | # <fx name> { |
| 338 | # <param 1 name> { |
| 339 | # param { |
| 340 | # int|short|float|bool|string <value> |
| 341 | # [ int|short|float|bool|string <value> ] |
| 342 | # ... |
| 343 | # } |
| 344 | # value { |
| 345 | # int|short|float|bool|string <value> |
| 346 | # [ int|short|float|bool|string <value> ] |
| 347 | # ... |
| 348 | # } |
| 349 | # } |
| 350 | # <param 2 name > {<param> <value>} |
| 351 | # ... |
| 352 | # } |
| 353 | # ... |
| 354 | # } |
| 355 | # ... |
| 356 | # } |
| 357 | |
| 358 | # |
| 359 | # TODO: add default audio pre processor configurations after debug and tuning phase |
| 360 | # |