Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [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 | # This is a proxy library that will be an abstraction for |
| 10 | # the HW and SW effects |
| 11 | proxy { |
| 12 | path /system/lib/soundfx/libeffectproxy.so |
| 13 | } |
| 14 | # This is the HW implementation library for the effect |
| 15 | offload { |
| 16 | path /system/lib/soundfx/libaudioeffectoffload.so |
| 17 | } |
| 18 | bundle { |
| 19 | path /system/lib/soundfx/libbundlewrapper.so |
| 20 | } |
| 21 | reverb { |
| 22 | path /system/lib/soundfx/libreverbwrapper.so |
| 23 | } |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 24 | visualizer_sw { |
| 25 | path /system/lib/soundfx/libvisualizer.so |
| 26 | } |
| 27 | visualizer_hw { |
| 28 | path /system/lib/soundfx/libqcomvisualizer.so |
| 29 | } |
| 30 | downmix { |
| 31 | path /system/lib/soundfx/libdownmix.so |
| 32 | } |
Zvikomborero VIncent Zvikaramba | 49a48a8 | 2016-07-22 01:39:05 -0400 | [diff] [blame] | 33 | mysound { |
| 34 | path /system/lib/libmysound.so |
| 35 | } |
| 36 | myspace { |
| 37 | path /system/lib/soundfx/libmyspace.so |
| 38 | } |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 39 | soundalive { |
| 40 | path /system/lib/libaudiosa.so |
| 41 | } |
| 42 | soundalive_sec { |
| 43 | path /system/lib/soundfx/libaudiosa_sec.so |
| 44 | } |
| 45 | loudness_enhancer { |
| 46 | path /system/lib/soundfx/libldnhncr.so |
| 47 | } |
| 48 | pre_processing { |
| 49 | path /system/lib/soundfx/libqcomvoiceprocessing.so |
| 50 | } |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | # Default pre-processing library. Add to audio_effect.conf "libraries" section if |
| 54 | # audio HAL implements support for default software audio pre-processing effects |
| 55 | # |
| 56 | # pre_processing { |
| 57 | # path /system/lib/soundfx/libaudiopreprocessing.so |
| 58 | # } |
| 59 | |
| 60 | # list of effects to load. Each effect element must contain a "library" and a "uuid" element. |
| 61 | # The value of the "library" element must correspond to the name of one library element in the |
| 62 | # "libraries" element. |
| 63 | # The name of the effect element is indicative, only the value of the "uuid" element |
| 64 | # designates the effect. |
| 65 | # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the |
| 66 | # generic effect type UUID. |
| 67 | # effects { |
| 68 | # <fx name> { |
| 69 | # library <lib name> |
| 70 | # uuid <effect uuid> |
| 71 | # } |
| 72 | # ... |
| 73 | # } |
| 74 | |
| 75 | effects { |
| 76 | soundalive { |
| 77 | library proxy |
| 78 | uuid 05227ea0-50bb-11e3-ac69-0002a5d5c51b |
| 79 | libsw { |
| 80 | library soundalive_sec |
| 81 | uuid cf65eb39-ce2f-48a8-a903-ceb818c06745 |
| 82 | } |
| 83 | libhw { |
| 84 | library offload |
| 85 | uuid 0b2dbc60-50bb-11e3-988b-0002a5d5c51b |
| 86 | } |
| 87 | } |
| 88 | bassboost { |
| 89 | library proxy |
| 90 | uuid 10e50dc0-50bb-11e3-a9b0-0002a5d5c51b |
| 91 | libsw { |
| 92 | library soundalive |
| 93 | uuid a926a540-418a-11e1-b2f1-0002a5d5c51b |
| 94 | } |
| 95 | libhw { |
| 96 | library offload |
| 97 | uuid 16a70d80-50bb-11e3-8959-0002a5d5c51b |
| 98 | } |
| 99 | } |
| 100 | virtualizer { |
| 101 | library proxy |
| 102 | uuid 1db5b180-50bb-11e3-888e-0002a5d5c51b |
| 103 | libsw { |
| 104 | library soundalive |
| 105 | uuid c747f6a0-418a-11e1-a621-0002a5d5c51b |
| 106 | } |
| 107 | libhw { |
| 108 | library offload |
| 109 | uuid 23318080-50bb-11e3-9101-0002a5d5c51b |
| 110 | } |
| 111 | } |
| 112 | equalizer { |
| 113 | library proxy |
| 114 | uuid 295b42c0-50bb-11e3-a6ed-0002a5d5c51b |
| 115 | libsw { |
| 116 | library soundalive |
| 117 | uuid c117b70-f97f-11e0-be50-0002a5d5c51b |
| 118 | } |
| 119 | libhw { |
| 120 | library offload |
| 121 | uuid 2f2afe20-50bb-11e3-bc97-0002a5d5c51b |
| 122 | } |
| 123 | } |
| 124 | volume { |
| 125 | library bundle |
| 126 | uuid 119341a0-8469-11df-81f9-0002a5d5c51b |
| 127 | } |
| 128 | reverb_env_aux { |
| 129 | library reverb |
| 130 | uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b |
| 131 | } |
| 132 | reverb_env_ins { |
| 133 | library reverb |
| 134 | uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b |
| 135 | } |
| 136 | reverb_pre_aux { |
| 137 | library reverb |
| 138 | uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b |
| 139 | } |
| 140 | reverb_pre_ins { |
| 141 | library reverb |
| 142 | uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b |
| 143 | } |
| 144 | visualizer { |
| 145 | library proxy |
| 146 | uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c |
| 147 | libsw { |
| 148 | library visualizer_sw |
| 149 | uuid d069d9e0-8329-11df-9168-0002a5d5c51b |
| 150 | } |
| 151 | libhw { |
| 152 | library visualizer_hw |
| 153 | uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b |
| 154 | } |
| 155 | } |
| 156 | downmix { |
| 157 | library downmix |
| 158 | uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f |
| 159 | } |
Zvikomborero VIncent Zvikaramba | 49a48a8 | 2016-07-22 01:39:05 -0400 | [diff] [blame] | 160 | dha { |
| 161 | library proxy |
| 162 | uuid 37155c20-50bb-11e3-9fac-0002a5d5c51b |
| 163 | libsw { |
| 164 | library mysound |
| 165 | uuid 263a88e0-50b1-11e2-bcfd-0800200c9a66 |
| 166 | } |
| 167 | libhw { |
| 168 | library offload |
| 169 | uuid 3ef69260-50bb-11e3-931e-0002a5d5c51b |
| 170 | } |
| 171 | } |
| 172 | sa3d { |
| 173 | library proxy |
| 174 | uuid 1c91fca0-664a-11e4-b8c2-0002a5d5c51b |
| 175 | libsw { |
| 176 | library myspace |
| 177 | uuid 3462a6e0-655a-11e4-8b67-0002a5d5c51b |
| 178 | } |
| 179 | libhw { |
| 180 | library offload |
| 181 | uuid c7a84e61-eebe-4fcc-bc53-efcb841b4625 |
| 182 | } |
| 183 | } |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 184 | loudness_enhancer { |
| 185 | library loudness_enhancer |
| 186 | uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c |
| 187 | } |
| 188 | aec { |
| 189 | library pre_processing |
| 190 | uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109 |
| 191 | } |
| 192 | ns { |
| 193 | library pre_processing |
Zvikomborero VIncent Zvikaramba | 49a48a8 | 2016-07-22 01:39:05 -0400 | [diff] [blame] | 194 | uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8 |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 195 | } |
| 196 | } |
| 197 | |
| 198 | # Default pre-processing effects. Add to audio_effect.conf "effects" section if |
| 199 | # audio HAL implements support for them. |
| 200 | # |
| 201 | # agc { |
| 202 | # library pre_processing |
| 203 | # uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b |
| 204 | # } |
| 205 | # aec { |
| 206 | # library pre_processing |
| 207 | # uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109 |
| 208 | # } |
| 209 | # ns { |
| 210 | # library pre_processing |
| 211 | # uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b |
| 212 | # } |
| 213 | |
| 214 | # Audio preprocessor configurations. |
| 215 | # The pre processor configuration consists in a list of elements each describing |
| 216 | # pre processor settings for a given input source. Valid input source names are: |
| 217 | # "mic", "camcorder", "voice_recognition", "voice_communication" |
| 218 | # Each input source element contains a list of effects elements. The name of the effect |
| 219 | # element must be the name of one of the effects in the "effects" list of the file. |
| 220 | # Each effect element may optionally contain a list of parameters and their |
| 221 | # default value to apply when the pre processor effect is created. |
| 222 | # A parameter is defined by a "param" element and a "value" element. Each of these elements |
| 223 | # consists in one or more elements specifying a type followed by a value. |
| 224 | # The types defined are: "int", "short", "float", "bool" and "string" |
| 225 | # When both "param" and "value" are a single int, a simple form is allowed where just |
| 226 | # the param and value pair is present in the parameter description |
| 227 | # pre_processing { |
| 228 | # <input source name> { |
| 229 | # <fx name> { |
| 230 | # <param 1 name> { |
| 231 | # param { |
| 232 | # int|short|float|bool|string <value> |
| 233 | # [ int|short|float|bool|string <value> ] |
| 234 | # ... |
| 235 | # } |
| 236 | # value { |
| 237 | # int|short|float|bool|string <value> |
| 238 | # [ int|short|float|bool|string <value> ] |
| 239 | # ... |
| 240 | # } |
| 241 | # } |
| 242 | # <param 2 name > {<param> <value>} |
| 243 | # ... |
| 244 | # } |
| 245 | # ... |
| 246 | # } |
| 247 | # ... |
| 248 | # } |
| 249 | |
| 250 | # |
| 251 | # TODO: add default audio pre processor configurations after debug and tuning phase |
| 252 | # |
| 253 | pre_processing { |
| 254 | voice_communication { |
| 255 | aec {} |
| 256 | } |
| 257 | } |
Zvikomborero VIncent Zvikaramba | 49a48a8 | 2016-07-22 01:39:05 -0400 | [diff] [blame] | 258 | output_session_processing { |
| 259 | music { |
| 260 | soundalive {} |
| 261 | dha {} |
| 262 | sa3d {} |
| 263 | } |
| 264 | ring { |
| 265 | sa3d {} |
| 266 | } |
| 267 | } |