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