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