Eric Laurent | e1315cf | 2011-05-17 19:16:02 -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. |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 3 | # libraries { |
| 4 | # <lib name> { |
| 5 | # path <lib path> |
| 6 | # } |
| 7 | # } |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 8 | libraries { |
jpadmana | 284c17e | 2013-06-04 16:08:29 +0530 | [diff] [blame^] | 9 | # This is a proxy library that will be an abstraction for |
| 10 | # the HW and SW effects |
| 11 | |
| 12 | #proxy { |
| 13 | #path /system/lib/soundfx/libProxy.so |
| 14 | #} |
| 15 | |
| 16 | # This is the SW implementation library of the effect |
| 17 | #libSW { |
| 18 | #path /system/lib/soundfx/libswwrapper.so |
| 19 | #} |
| 20 | |
| 21 | # This is the HW implementation library for the effect |
| 22 | #libHW { |
| 23 | #path /system/lib/soundfx/libhwwrapper.so |
| 24 | #} |
| 25 | |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 26 | bundle { |
| 27 | path /system/lib/soundfx/libbundlewrapper.so |
| 28 | } |
| 29 | reverb { |
| 30 | path /system/lib/soundfx/libreverbwrapper.so |
| 31 | } |
| 32 | visualizer { |
| 33 | path /system/lib/soundfx/libvisualizer.so |
| 34 | } |
Jean-Michel Trivi | 7d5b262 | 2012-04-04 18:54:36 -0700 | [diff] [blame] | 35 | downmix { |
| 36 | path /system/lib/soundfx/libdownmix.so |
| 37 | } |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 38 | } |
| 39 | |
Eric Laurent | 199862e | 2012-09-07 17:31:18 -0700 | [diff] [blame] | 40 | # Default pre-processing library. Add to audio_effect.conf "libraries" section if |
| 41 | # audio HAL implements support for default software audio pre-processing effects |
| 42 | # |
| 43 | # pre_processing { |
| 44 | # path /system/lib/soundfx/libaudiopreprocessing.so |
| 45 | # } |
| 46 | |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 47 | # list of effects to load. Each effect element must contain a "library" and a "uuid" element. |
| 48 | # The value of the "library" element must correspond to the name of one library element in the |
| 49 | # "libraries" element. |
| 50 | # The name of the effect element is indicative, only the value of the "uuid" element |
| 51 | # designates the effect. |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 52 | # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the |
| 53 | # generic effect type UUID. |
| 54 | # effects { |
| 55 | # <fx name> { |
| 56 | # library <lib name> |
| 57 | # uuid <effect uuid> |
| 58 | # } |
| 59 | # ... |
| 60 | # } |
| 61 | |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 62 | effects { |
jpadmana | 284c17e | 2013-06-04 16:08:29 +0530 | [diff] [blame^] | 63 | |
| 64 | # additions for the proxy implementation |
| 65 | # Proxy implementation |
| 66 | #effectname { |
| 67 | #library proxy |
| 68 | #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| 69 | |
| 70 | # SW implemetation of the effect. Added as a node under the proxy to |
| 71 | # indicate this as a sub effect. |
| 72 | #libsw { |
| 73 | #library libSW |
| 74 | #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy |
| 75 | #} End of SW effect |
| 76 | |
| 77 | # HW implementation of the effect. Added as a node under the proxy to |
| 78 | # indicate this as a sub effect. |
| 79 | #libhw { |
| 80 | #library libHW |
| 81 | #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz |
| 82 | #}End of HW effect |
| 83 | #} End of effect proxy |
| 84 | |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 85 | bassboost { |
| 86 | library bundle |
| 87 | uuid 8631f300-72e2-11df-b57e-0002a5d5c51b |
| 88 | } |
| 89 | virtualizer { |
| 90 | library bundle |
| 91 | uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b |
| 92 | } |
| 93 | equalizer { |
| 94 | library bundle |
| 95 | uuid ce772f20-847d-11df-bb17-0002a5d5c51b |
| 96 | } |
| 97 | volume { |
| 98 | library bundle |
Jean-Michel Trivi | e7c795f | 2012-03-02 09:58:05 -0800 | [diff] [blame] | 99 | uuid 119341a0-8469-11df-81f9-0002a5d5c51b |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 100 | } |
| 101 | reverb_env_aux { |
| 102 | library reverb |
Jean-Michel Trivi | e7c795f | 2012-03-02 09:58:05 -0800 | [diff] [blame] | 103 | uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 104 | } |
| 105 | reverb_env_ins { |
| 106 | library reverb |
| 107 | uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b |
| 108 | } |
| 109 | reverb_pre_aux { |
| 110 | library reverb |
| 111 | uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b |
| 112 | } |
| 113 | reverb_pre_ins { |
| 114 | library reverb |
| 115 | uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b |
| 116 | } |
| 117 | visualizer { |
| 118 | library visualizer |
| 119 | uuid d069d9e0-8329-11df-9168-0002a5d5c51b |
| 120 | } |
Jean-Michel Trivi | 7d5b262 | 2012-04-04 18:54:36 -0700 | [diff] [blame] | 121 | downmix { |
| 122 | library downmix |
| 123 | uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f |
| 124 | } |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 125 | } |
Eric Laurent | 199862e | 2012-09-07 17:31:18 -0700 | [diff] [blame] | 126 | |
| 127 | # Default pre-processing effects. Add to audio_effect.conf "effects" section if |
| 128 | # audio HAL implements support for them. |
| 129 | # |
| 130 | # agc { |
| 131 | # library pre_processing |
| 132 | # uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b |
| 133 | # } |
| 134 | # aec { |
| 135 | # library pre_processing |
| 136 | # uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b |
| 137 | # } |
| 138 | # ns { |
| 139 | # library pre_processing |
| 140 | # uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b |
| 141 | # } |
| 142 | |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 143 | # Audio preprocessor configurations. |
| 144 | # The pre processor configuration consists in a list of elements each describing |
| 145 | # pre processor settings for a given input source. Valid input source names are: |
| 146 | # "mic", "camcorder", "voice_recognition", "voice_communication" |
| 147 | # Each input source element contains a list of effects elements. The name of the effect |
| 148 | # element must be the name of one of the effects in the "effects" list of the file. |
| 149 | # Each effect element may optionally contain a list of parameters and their |
| 150 | # default value to apply when the pre processor effect is created. |
| 151 | # A parameter is defined by a "param" element and a "value" element. Each of these elements |
| 152 | # consists in one or more elements specifying a type followed by a value. |
| 153 | # The types defined are: "int", "short", "float", "bool" and "string" |
| 154 | # When both "param" and "value" are a single int, a simple form is allowed where just |
| 155 | # the param and value pair is present in the parameter description |
| 156 | # pre_processing { |
| 157 | # <input source name> { |
| 158 | # <fx name> { |
| 159 | # <param 1 name> { |
| 160 | # param { |
| 161 | # int|short|float|bool|string <value> |
| 162 | # [ int|short|float|bool|string <value> ] |
| 163 | # ... |
| 164 | # } |
| 165 | # value { |
| 166 | # int|short|float|bool|string <value> |
| 167 | # [ int|short|float|bool|string <value> ] |
| 168 | # ... |
| 169 | # } |
| 170 | # } |
| 171 | # <param 2 name > {<param> <value>} |
| 172 | # ... |
| 173 | # } |
| 174 | # ... |
| 175 | # } |
| 176 | # ... |
| 177 | # } |
| 178 | |
| 179 | # |
| 180 | # TODO: add default audio pre processor configurations after debug and tuning phase |
| 181 | # |