• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#    }
8libraries {
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}
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.
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
41effects {
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
56    uuid 119341a0-8469-11df-81f9-0002a5d5c51b
57  }
58  reverb_env_aux {
59    library reverb
60    uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
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  }
78  downmix {
79    library downmix
80    uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
81  }
82  agc {
83    library audience_pre_processing
84    uuid e9e87eb0-0b55-11e2-892e-0800200c9a66
85  }
86  aec {
87    library audience_pre_processing
88    uuid fd90ff00-0b55-11e2-892e-0800200c9a66
89  }
90  ns {
91    library audience_pre_processing
92    uuid 08fa98b0-0b56-11e2-892e-0800200c9a66
93  }
94}
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
131pre_processing {
132    voice_communication {
133        aec {}
134        ns {}
135    }
136    camcorder {
137        agc {}
138    }
139}
140