Home | History | Annotate | Download | only in manta
      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   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   }
     18   audience_pre_processing {
     19     path /system/lib/libaudience_voicefx.so
     20   }
     21   downmix {
     22     path /system/lib/soundfx/libdownmix.so
     23   }
     24   loudness_enhancer {
     25     path /system/lib/soundfx/libldnhncr.so
     26   }
     27 }
     28 
     29 # list of effects to load. Each effect element must contain a "library" and a "uuid" element.
     30 # The value of the "library" element must correspond to the name of one library element in the
     31 # "libraries" element.
     32 # The name of the effect element is indicative, only the value of the "uuid" element
     33 # designates the effect.
     34 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
     35 # generic effect type UUID.
     36 #    effects {
     37 #        <fx name> {
     38 #            library <lib name>
     39 #            uuid <effect uuid>
     40 #        }
     41 #        ...
     42 #    }
     43 
     44 effects {
     45   bassboost {
     46     library bundle
     47     uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
     48   }
     49   virtualizer {
     50     library bundle
     51     uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
     52   }
     53   equalizer {
     54     library bundle
     55     uuid ce772f20-847d-11df-bb17-0002a5d5c51b
     56   }
     57   volume {
     58     library bundle
     59     uuid 119341a0-8469-11df-81f9-0002a5d5c51b
     60   }
     61   reverb_env_aux {
     62     library reverb
     63     uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
     64   }
     65   reverb_env_ins {
     66     library reverb
     67     uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
     68   }
     69   reverb_pre_aux {
     70     library reverb
     71     uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
     72   }
     73   reverb_pre_ins {
     74     library reverb
     75     uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
     76   }
     77   visualizer {
     78     library visualizer
     79     uuid d069d9e0-8329-11df-9168-0002a5d5c51b
     80   }
     81   downmix {
     82     library downmix
     83     uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
     84   }
     85   agc {
     86     library audience_pre_processing
     87     uuid e9e87eb0-0b55-11e2-892e-0800200c9a66
     88   }
     89   aec {
     90     library audience_pre_processing
     91     uuid fd90ff00-0b55-11e2-892e-0800200c9a66
     92   }
     93   ns {
     94     library audience_pre_processing
     95     uuid 08fa98b0-0b56-11e2-892e-0800200c9a66
     96   }
     97   loudness_enhancer {
     98     library loudness_enhancer
     99     uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
    100   }
    101 }
    102 # Audio preprocessor configurations.
    103 # The pre processor configuration consists in a list of elements each describing
    104 # pre processor settings for a given input source. Valid input source names are:
    105 # "mic", "camcorder", "voice_recognition", "voice_communication"
    106 # Each input source element contains a list of effects elements. The name of the effect
    107 # element must be the name of one of the effects in the "effects" list of the file.
    108 # Each effect element may optionally contain a list of parameters and their
    109 # default value to apply when the pre processor effect is created.
    110 # A parameter is defined by a "param" element and a "value" element. Each of these elements
    111 # consists in one or more elements specifying a type followed by a value.
    112 # The types defined are: "int", "short", "float", "bool" and "string"
    113 # When both "param" and "value" are a single int, a simple form is allowed where just
    114 # the param and value pair is present in the parameter description
    115 #    pre_processing {
    116 #        <input source name> {
    117 #            <fx name> {
    118 #                <param 1 name> {
    119 #                    param {
    120 #                        int|short|float|bool|string <value>
    121 #                        [ int|short|float|bool|string <value> ]
    122 #                        ...
    123 #                    }
    124 #                    value {
    125 #                        int|short|float|bool|string <value>
    126 #                        [ int|short|float|bool|string <value> ]
    127 #                        ...
    128 #                    }
    129 #                }
    130 #                <param 2 name > {<param> <value>}
    131 #                ...
    132 #            }
    133 #            ...
    134 #        }
    135 #        ...
    136 #    }
    137 
    138 pre_processing {
    139     voice_communication {
    140         aec {}
    141         ns {}
    142     }
    143     camcorder {
    144         agc {}
    145     }
    146 }
    147