Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -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 { |
SzuWei Lin | ad5915b | 2017-04-27 14:57:09 +0800 | [diff] [blame] | 10 | path /vendor/lib/soundfx/libbundlewrapper.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 11 | } |
| 12 | reverb { |
SzuWei Lin | ad5915b | 2017-04-27 14:57:09 +0800 | [diff] [blame] | 13 | path /vendor/lib/soundfx/libreverbwrapper.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 14 | } |
| 15 | visualizer_sw { |
SzuWei Lin | ad5915b | 2017-04-27 14:57:09 +0800 | [diff] [blame] | 16 | path /vendor/lib/soundfx/libvisualizer.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 17 | } |
| 18 | visualizer_hw { |
Jiyong Park | c958f8c | 2017-03-28 11:03:20 +0900 | [diff] [blame] | 19 | path /vendor/lib/soundfx/libqcomvisualizer.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 20 | } |
| 21 | downmix { |
SzuWei Lin | ad5915b | 2017-04-27 14:57:09 +0800 | [diff] [blame] | 22 | path /vendor/lib/soundfx/libdownmix.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 23 | } |
| 24 | proxy { |
SzuWei Lin | ad5915b | 2017-04-27 14:57:09 +0800 | [diff] [blame] | 25 | path /vendor/lib/soundfx/libeffectproxy.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 26 | } |
| 27 | offload_bundle { |
Jiyong Park | c958f8c | 2017-03-28 11:03:20 +0900 | [diff] [blame] | 28 | path /vendor/lib/soundfx/libqcompostprocbundle.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 29 | } |
| 30 | qcom_pre_processing { |
Jiyong Park | c958f8c | 2017-03-28 11:03:20 +0900 | [diff] [blame] | 31 | path /vendor/lib/soundfx/libqcomvoiceprocessing.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 32 | } |
| 33 | loudness_enhancer { |
SzuWei Lin | ad5915b | 2017-04-27 14:57:09 +0800 | [diff] [blame] | 34 | path /vendor/lib/soundfx/libldnhncr.so |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 35 | } |
| 36 | } |
| 37 | |
| 38 | # Default pre-processing library. Add to audio_effect.conf "libraries" section if |
| 39 | # audio HAL implements support for default software audio pre-processing effects |
| 40 | # |
| 41 | # pre_processing { |
| 42 | # path /system/lib/soundfx/libaudiopreprocessing.so |
| 43 | # } |
| 44 | |
| 45 | # list of effects to load. Each effect element must contain a "library" and a "uuid" element. |
| 46 | # The value of the "library" element must correspond to the name of one library element in the |
| 47 | # "libraries" element. |
| 48 | # The name of the effect element is indicative, only the value of the "uuid" element |
| 49 | # designates the effect. |
| 50 | # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the |
| 51 | # generic effect type UUID. |
| 52 | # effects { |
| 53 | # <fx name> { |
| 54 | # library <lib name> |
| 55 | # uuid <effect uuid> |
| 56 | # } |
| 57 | # ... |
| 58 | # } |
| 59 | |
| 60 | effects { |
| 61 | |
| 62 | # additions for the proxy implementation |
| 63 | # Proxy implementation |
| 64 | #effectname { |
| 65 | #library proxy |
| 66 | #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| 67 | |
| 68 | # SW implemetation of the effect. Added as a node under the proxy to |
| 69 | # indicate this as a sub effect. |
| 70 | #libsw { |
| 71 | #library libSW |
| 72 | #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy |
| 73 | #} End of SW effect |
| 74 | |
| 75 | # HW implementation of the effect. Added as a node under the proxy to |
| 76 | # indicate this as a sub effect. |
| 77 | #libhw { |
| 78 | #library libHW |
| 79 | #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz |
| 80 | #}End of HW effect |
| 81 | #} End of effect proxy |
| 82 | |
| 83 | bassboost { |
| 84 | library proxy |
| 85 | uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b |
| 86 | |
| 87 | libsw { |
| 88 | library bundle |
| 89 | uuid 8631f300-72e2-11df-b57e-0002a5d5c51b |
| 90 | } |
| 91 | |
| 92 | libhw { |
| 93 | library offload_bundle |
| 94 | uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b |
| 95 | } |
| 96 | } |
| 97 | virtualizer { |
| 98 | library proxy |
| 99 | uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b |
| 100 | |
| 101 | libsw { |
| 102 | library bundle |
| 103 | uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b |
| 104 | } |
| 105 | |
| 106 | libhw { |
| 107 | library offload_bundle |
| 108 | uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b |
| 109 | } |
| 110 | } |
| 111 | equalizer { |
| 112 | library proxy |
| 113 | uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b |
| 114 | |
| 115 | libsw { |
| 116 | library bundle |
| 117 | uuid ce772f20-847d-11df-bb17-0002a5d5c51b |
| 118 | } |
| 119 | |
| 120 | libhw { |
| 121 | library offload_bundle |
| 122 | uuid a0dac280-401c-11e3-9379-0002a5d5c51b |
| 123 | } |
| 124 | } |
| 125 | volume { |
| 126 | library bundle |
| 127 | uuid 119341a0-8469-11df-81f9-0002a5d5c51b |
| 128 | } |
| 129 | reverb_env_aux { |
| 130 | library proxy |
| 131 | uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b |
| 132 | |
| 133 | libsw { |
| 134 | library reverb |
| 135 | uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b |
| 136 | } |
| 137 | |
| 138 | libhw { |
| 139 | library offload_bundle |
| 140 | uuid 79a18026-18fd-4185-8233-0002a5d5c51b |
| 141 | } |
| 142 | } |
| 143 | reverb_env_ins { |
| 144 | library proxy |
| 145 | uuid b707403a-a1c1-4291-9573-0002a5d5c51b |
| 146 | |
| 147 | libsw { |
| 148 | library reverb |
| 149 | uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b |
| 150 | } |
| 151 | |
| 152 | libhw { |
| 153 | library offload_bundle |
| 154 | uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b |
| 155 | } |
| 156 | } |
| 157 | reverb_pre_aux { |
| 158 | library proxy |
| 159 | uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b |
| 160 | |
| 161 | libsw { |
| 162 | library reverb |
| 163 | uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b |
| 164 | } |
| 165 | |
| 166 | libhw { |
| 167 | library offload_bundle |
| 168 | uuid 6987be09-b142-4b41-9056-0002a5d5c51b |
| 169 | } |
| 170 | } |
| 171 | reverb_pre_ins { |
| 172 | library proxy |
| 173 | uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b |
| 174 | |
| 175 | libsw { |
| 176 | library reverb |
| 177 | uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b |
| 178 | } |
| 179 | |
| 180 | libhw { |
| 181 | library offload_bundle |
| 182 | uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b |
| 183 | } |
| 184 | } |
| 185 | visualizer { |
| 186 | library proxy |
| 187 | uuid ec7178ec-e5e1-4432-a3f4-4657e6795210 |
| 188 | |
| 189 | libsw { |
| 190 | library visualizer_sw |
| 191 | uuid d069d9e0-8329-11df-9168-0002a5d5c51b |
| 192 | } |
| 193 | |
| 194 | libhw { |
| 195 | library visualizer_hw |
| 196 | uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b |
| 197 | } |
| 198 | } |
| 199 | downmix { |
| 200 | library downmix |
| 201 | uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f |
| 202 | } |
| 203 | loudness_enhancer { |
| 204 | library loudness_enhancer |
| 205 | uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c |
| 206 | } |
| 207 | aec { |
| 208 | library qcom_pre_processing |
Jean-Michel Trivi | f7ef2a6 | 2015-08-14 14:45:54 -0700 | [diff] [blame] | 209 | uuid dce45980-42b3-11e5-89be-0002a5d5c51b |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 210 | } |
| 211 | ns { |
| 212 | library qcom_pre_processing |
Jean-Michel Trivi | f7ef2a6 | 2015-08-14 14:45:54 -0700 | [diff] [blame] | 213 | uuid effd4400-42b3-11e5-a2be-0002a5d5c51b |
Patrick Tjin | ea3b3cd | 2015-03-31 10:38:39 -0700 | [diff] [blame] | 214 | } |
| 215 | } |
| 216 | |
| 217 | pre_processing { |
| 218 | voice_communication { |
| 219 | aec { |
| 220 | } |
| 221 | ns { |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | # Default pre-processing effects. Add to audio_effect.conf "effects" section if |
| 227 | # audio HAL implements support for them. |
| 228 | # |
| 229 | # agc { |
| 230 | # library pre_processing |
| 231 | # uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b |
| 232 | # } |
| 233 | # aec { |
| 234 | # library pre_processing |
| 235 | # uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b |
| 236 | # } |
| 237 | # ns { |
| 238 | # library pre_processing |
| 239 | # uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b |
| 240 | # } |
| 241 | |
| 242 | # Audio preprocessor configurations. |
| 243 | # The pre processor configuration consists in a list of elements each describing |
| 244 | # pre processor settings for a given input source. Valid input source names are: |
| 245 | # "mic", "camcorder", "voice_recognition", "voice_communication" |
| 246 | # Each input source element contains a list of effects elements. The name of the effect |
| 247 | # element must be the name of one of the effects in the "effects" list of the file. |
| 248 | # Each effect element may optionally contain a list of parameters and their |
| 249 | # default value to apply when the pre processor effect is created. |
| 250 | # A parameter is defined by a "param" element and a "value" element. Each of these elements |
| 251 | # consists in one or more elements specifying a type followed by a value. |
| 252 | # The types defined are: "int", "short", "float", "bool" and "string" |
| 253 | # When both "param" and "value" are a single int, a simple form is allowed where just |
| 254 | # the param and value pair is present in the parameter description |
| 255 | # pre_processing { |
| 256 | # <input source name> { |
| 257 | # <fx name> { |
| 258 | # <param 1 name> { |
| 259 | # param { |
| 260 | # int|short|float|bool|string <value> |
| 261 | # [ int|short|float|bool|string <value> ] |
| 262 | # ... |
| 263 | # } |
| 264 | # value { |
| 265 | # int|short|float|bool|string <value> |
| 266 | # [ int|short|float|bool|string <value> ] |
| 267 | # ... |
| 268 | # } |
| 269 | # } |
| 270 | # <param 2 name > {<param> <value>} |
| 271 | # ... |
| 272 | # } |
| 273 | # ... |
| 274 | # } |
| 275 | # ... |
| 276 | # } |
| 277 | |
| 278 | # |
| 279 | # TODO: add default audio pre processor configurations after debug and tuning phase |
| 280 | # |