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 { |
| 9 | bundle { |
| 10 | path /system/lib/soundfx/libbundlewrapper.so |
| 11 | } |
| 12 | reverb { |
| 13 | path /system/lib/soundfx/libreverbwrapper.so |
| 14 | } |
| 15 | visualizer { |
| 16 | path /system/lib/soundfx/libvisualizer.so |
| 17 | } |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 18 | pre_processing { |
| 19 | path /system/lib/soundfx/libaudiopreprocessing.so |
| 20 | } |
Jean-Michel Trivi | 7d5b262 | 2012-04-04 18:54:36 -0700 | [diff] [blame^] | 21 | downmix { |
| 22 | path /system/lib/soundfx/libdownmix.so |
| 23 | } |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | # list of effects to load. Each effect element must contain a "library" and a "uuid" element. |
| 27 | # The value of the "library" element must correspond to the name of one library element in the |
| 28 | # "libraries" element. |
| 29 | # The name of the effect element is indicative, only the value of the "uuid" element |
| 30 | # designates the effect. |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 31 | # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the |
| 32 | # generic effect type UUID. |
| 33 | # effects { |
| 34 | # <fx name> { |
| 35 | # library <lib name> |
| 36 | # uuid <effect uuid> |
| 37 | # } |
| 38 | # ... |
| 39 | # } |
| 40 | |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 41 | effects { |
| 42 | bassboost { |
| 43 | library bundle |
| 44 | uuid 8631f300-72e2-11df-b57e-0002a5d5c51b |
| 45 | } |
| 46 | virtualizer { |
| 47 | library bundle |
| 48 | uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b |
| 49 | } |
| 50 | equalizer { |
| 51 | library bundle |
| 52 | uuid ce772f20-847d-11df-bb17-0002a5d5c51b |
| 53 | } |
| 54 | volume { |
| 55 | library bundle |
Jean-Michel Trivi | e7c795f | 2012-03-02 09:58:05 -0800 | [diff] [blame] | 56 | uuid 119341a0-8469-11df-81f9-0002a5d5c51b |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 57 | } |
| 58 | reverb_env_aux { |
| 59 | library reverb |
Jean-Michel Trivi | e7c795f | 2012-03-02 09:58:05 -0800 | [diff] [blame] | 60 | uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 61 | } |
| 62 | reverb_env_ins { |
| 63 | library reverb |
| 64 | uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b |
| 65 | } |
| 66 | reverb_pre_aux { |
| 67 | library reverb |
| 68 | uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b |
| 69 | } |
| 70 | reverb_pre_ins { |
| 71 | library reverb |
| 72 | uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b |
| 73 | } |
| 74 | visualizer { |
| 75 | library visualizer |
| 76 | uuid d069d9e0-8329-11df-9168-0002a5d5c51b |
| 77 | } |
Jean-Michel Trivi | 7d5b262 | 2012-04-04 18:54:36 -0700 | [diff] [blame^] | 78 | downmix { |
| 79 | library downmix |
| 80 | uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f |
| 81 | } |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 82 | agc { |
| 83 | library pre_processing |
| 84 | uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b |
| 85 | } |
| 86 | aec { |
| 87 | library pre_processing |
| 88 | uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b |
| 89 | } |
| 90 | ns { |
| 91 | library pre_processing |
| 92 | uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b |
| 93 | } |
Eric Laurent | e1315cf | 2011-05-17 19:16:02 -0700 | [diff] [blame] | 94 | } |
Eric Laurent | 7c7f10b | 2011-06-17 21:29:58 -0700 | [diff] [blame] | 95 | # Audio preprocessor configurations. |
| 96 | # The pre processor configuration consists in a list of elements each describing |
| 97 | # pre processor settings for a given input source. Valid input source names are: |
| 98 | # "mic", "camcorder", "voice_recognition", "voice_communication" |
| 99 | # Each input source element contains a list of effects elements. The name of the effect |
| 100 | # element must be the name of one of the effects in the "effects" list of the file. |
| 101 | # Each effect element may optionally contain a list of parameters and their |
| 102 | # default value to apply when the pre processor effect is created. |
| 103 | # A parameter is defined by a "param" element and a "value" element. Each of these elements |
| 104 | # consists in one or more elements specifying a type followed by a value. |
| 105 | # The types defined are: "int", "short", "float", "bool" and "string" |
| 106 | # When both "param" and "value" are a single int, a simple form is allowed where just |
| 107 | # the param and value pair is present in the parameter description |
| 108 | # pre_processing { |
| 109 | # <input source name> { |
| 110 | # <fx name> { |
| 111 | # <param 1 name> { |
| 112 | # param { |
| 113 | # int|short|float|bool|string <value> |
| 114 | # [ int|short|float|bool|string <value> ] |
| 115 | # ... |
| 116 | # } |
| 117 | # value { |
| 118 | # int|short|float|bool|string <value> |
| 119 | # [ int|short|float|bool|string <value> ] |
| 120 | # ... |
| 121 | # } |
| 122 | # } |
| 123 | # <param 2 name > {<param> <value>} |
| 124 | # ... |
| 125 | # } |
| 126 | # ... |
| 127 | # } |
| 128 | # ... |
| 129 | # } |
| 130 | |
| 131 | # |
| 132 | # TODO: add default audio pre processor configurations after debug and tuning phase |
| 133 | # |