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