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