root/trunk/libffado/support/dbus/control-interface.xml

Revision 1646, 10.8 kB (checked in by arnonym, 15 years ago)

These functions return bool. Adopt the dbus-interface to the reality.

Line 
1 <?xml version="1.0" ?>
2 <node name="/org/ffado/Control/">
3
4   <interface name="org.ffado.Control.Element.Element">
5       <method name="getId">
6           <arg type="t" name="id" direction="out"/>
7       </method>
8       <method name="getName">
9           <arg type="s" name="name" direction="out"/>
10       </method>
11       <method name="getLabel">
12           <arg type="s" name="label" direction="out"/>
13       </method>
14       <method name="getDescription">
15           <arg type="s" name="description" direction="out"/>
16       </method>
17       <method name="canChangeValue">
18           <arg type="b" name="can_change" direction="out"/>
19       </method>
20       <method name="getVerboseLevel">
21           <arg type="i" name="level" direction="out"/>
22       </method>
23       <method name="setVerboseLevel">
24           <arg type="i" name="level" direction="in"/>
25       </method>
26   </interface>
27
28   <interface name="org.ffado.Control.Element.Container">
29       <method name="getNbElements">
30           <arg type="i" name="count" direction="out"/>
31       </method>
32       <method name="getElementName">
33           <arg type="i" name="id" direction="in"/>
34           <arg type="s" name="name" direction="out"/>
35       </method>
36       <signal name="Destroyed"></signal>
37       <signal name="Updated"></signal>
38       <signal name="PreUpdate"></signal>
39       <signal name="PostUpdate"></signal>
40   </interface>
41
42   <interface name="org.ffado.Control.Element.ConfigRomX">
43       <method name="getGUID">
44           <arg type="s" name="guid" direction="out"/>
45       </method>
46       <method name="getVendorName">
47           <arg type="s" name="vendorname" direction="out"/>
48       </method>
49       <method name="getModelName">
50           <arg type="s" name="modelname" direction="out"/>
51       </method>
52       <method name="getVendorId">
53           <arg type="i" name="vendorid" direction="out"/>
54       </method>
55       <method name="getModelId">
56           <arg type="i" name="modelid" direction="out"/>
57       </method>
58       <method name="getUnitVersion">
59           <arg type="i" name="unitversion" direction="out"/>
60       </method>
61   </interface>
62
63   <interface name="org.ffado.Control.Element.Continuous">
64       <method name="setValue">
65           <arg type="d" name="value" direction="in"/>
66           <arg type="d" name="value" direction="out"/>
67       </method>
68       <method name="getValue">
69           <arg type="d" name="value" direction="out"/>
70       </method>
71       <method name="getMinimum">
72           <arg type="d" name="value" direction="out"/>
73       </method>
74       <method name="getMaximum">
75           <arg type="d" name="value" direction="out"/>
76       </method>
77       <method name="setValueIdx">
78           <arg type="i" name="idx" direction="in"/>
79           <arg type="d" name="value" direction="in"/>
80           <arg type="d" name="value" direction="out"/>
81       </method>
82       <method name="getValueIdx">
83           <arg type="i" name="idx" direction="in"/>
84           <arg type="d" name="value" direction="out"/>
85       </method>
86   </interface>
87
88   <interface name="org.ffado.Control.Element.Discrete">
89       <method name="setValue">
90           <arg type="i" name="value" direction="in"/>
91           <arg type="i" name="value" direction="out"/>
92       </method>
93       <method name="getValue">
94           <arg type="i" name="value" direction="out"/>
95       </method>
96       <method name="setValueIdx">
97           <arg type="i" name="idx" direction="in"/>
98           <arg type="i" name="value" direction="in"/>
99           <arg type="i" name="value" direction="out"/>
100       </method>
101       <method name="getValueIdx">
102           <arg type="i" name="idx" direction="in"/>
103           <arg type="i" name="value" direction="out"/>
104       </method>
105   </interface>
106
107   <interface name="org.ffado.Control.Element.Text">
108       <method name="setValue">
109           <arg type="s" name="value" direction="in"/>
110           <arg type="s" name="value" direction="out"/>
111       </method>
112       <method name="getValue">
113           <arg type="s" name="value" direction="out"/>
114       </method>
115   </interface>
116
117   <interface name="org.ffado.Control.Element.Register">
118       <method name="setValue">
119           <arg type="t" name="address" direction="in"/>
120           <arg type="t" name="value" direction="in"/>
121           <arg type="t" name="value" direction="out"/>
122       </method>
123       <method name="getValue">
124           <arg type="t" name="address" direction="in"/>
125           <arg type="t" name="value" direction="out"/>
126       </method>
127   </interface>
128
129   <interface name="org.ffado.Control.Element.Enum">
130       <method name="select">
131           <arg type="i" name="idx" direction="in"/>
132           <arg type="i" name="success" direction="out"/>
133       </method>
134       <method name="selected">
135           <arg type="i" name="idx" direction="out"/>
136       </method>
137       <method name="count">
138           <arg type="i" name="count" direction="out"/>
139       </method>
140       <method name="getEnumLabel">
141           <arg type="i" name="idx" direction="in"/>
142           <arg type="s" name="label" direction="out"/>
143       </method>
144   </interface>
145
146   <interface name="org.ffado.Control.Element.AttributeEnum">
147       <method name="select">
148           <arg type="i" name="idx" direction="in"/>
149           <arg type="i" name="success" direction="out"/>
150       </method>
151       <method name="selected">
152           <arg type="i" name="idx" direction="out"/>
153       </method>
154       <method name="count">
155           <arg type="i" name="count" direction="out"/>
156       </method>
157       <method name="attributeCount">
158           <arg type="i" name="count" direction="out"/>
159       </method>
160       <method name="getEnumLabel">
161           <arg type="i" name="idx" direction="in"/>
162           <arg type="s" name="label" direction="out"/>
163       </method>
164       <method name="getAttributeValue">
165           <arg type="i" name="idx" direction="in"/>
166           <arg type="s" name="value" direction="out"/>
167       </method>
168       <method name="getAttributeName">
169           <arg type="i" name="idx" direction="in"/>
170           <arg type="s" name="name" direction="out"/>
171       </method>
172   </interface>
173
174   <interface name="org.ffado.Control.Element.MatrixMixer">
175       <method name="setValue">
176           <arg type="i" name="row" direction="in"/>
177           <arg type="i" name="col" direction="in"/>
178           <arg type="d" name="value" direction="in"/>
179           <arg type="d" name="value" direction="out"/>
180       </method>
181       <method name="getValue">
182           <arg type="i" name="row" direction="in"/>
183           <arg type="i" name="col" direction="in"/>
184           <arg type="d" name="value" direction="out"/>
185       </method>
186       <method name="canWrite">
187           <arg type="i" name="row" direction="in"/>
188           <arg type="i" name="col" direction="in"/>
189           <arg type="i" name="value" direction="out"/>
190       </method>
191       <method name="getRowName">
192           <arg type="i" name="row" direction="in"/>
193           <arg type="s" name="rowname" direction="out"/>
194       </method>
195       <method name="getColName">
196           <arg type="i" name="col" direction="in"/>
197           <arg type="s" name="colname" direction="out"/>
198       </method>
199       <method name="getRowCount">
200           <arg type="i" name="nbrows" direction="out"/>
201       </method>
202       <method name="getColCount">
203           <arg type="i" name="nbrows" direction="out"/>
204       </method>
205   </interface>
206
207   <interface name="org.ffado.Control.Element.CrossbarRouter">
208       <method name="getSourceName">
209           <arg type="i" name="srcid" direction="in"/>
210           <arg type="s" name="sourcename" direction="out"/>
211       </method>
212       <method name="getDestinationName">
213           <arg type="i" name="dstid" direction="in"/>
214           <arg type="s" name="destinationname" direction="out"/>
215       </method>
216       <method name="getSourceIndex">
217           <arg type="s" name="sourcename" direction="in"/>
218           <arg type="i" name="srcid" direction="out"/>
219       </method>
220       <method name="getDestinationIndex">
221           <arg type="s" name="destinationname" direction="in"/>
222           <arg type="i" name="dstid" direction="out"/>
223       </method>
224       <method name="getSourceNames">
225           <arg type="as" name="sourcenames" direction="out"/>
226       </method>
227       <method name="getDestinationNames">
228           <arg type="as" name="destinationnames" direction="out"/>
229       </method>
230       <method name="getDestinationsForSource">
231           <arg type="i" name="srcid" direction="in"/>
232           <arg type="ai" name="dstids" direction="out"/>
233       </method>
234       <method name="getSourceForDestination">
235           <arg type="i" name="dstid" direction="in"/>
236           <arg type="i" name="srcid" direction="out"/>
237       </method>
238       <method name="canConnect">
239           <arg type="i" name="srcid" direction="in"/>
240           <arg type="i" name="dstid" direction="in"/>
241           <arg type="b" name="canconnect" direction="out"/>
242       </method>
243       <method name="setConnectionState">
244           <arg type="i" name="srcid" direction="in"/>
245           <arg type="i" name="dstid" direction="in"/>
246           <arg type="i" name="state" direction="in"/>
247           <arg type="b" name="result" direction="out"/>
248       </method>
249       <method name="getConnectionState">
250           <arg type="i" name="srcid" direction="in"/>
251           <arg type="i" name="dstid" direction="in"/>
252           <arg type="b" name="state" direction="out"/>
253       </method>
254       <method name="canConnectNamed">
255           <arg type="s" name="srcname" direction="in"/>
256           <arg type="s" name="dstname" direction="in"/>
257           <arg type="b" name="canconnect" direction="out"/>
258       </method>
259       <method name="setConnectionStateNamed">
260           <arg type="s" name="srcname" direction="in"/>
261           <arg type="s" name="dstname" direction="in"/>
262           <arg type="i" name="state" direction="in"/>
263           <arg type="b" name="result" direction="out"/>
264       </method>
265       <method name="getConnectionStateNamed">
266           <arg type="s" name="srcname" direction="in"/>
267           <arg type="s" name="dstname" direction="in"/>
268           <arg type="b" name="state" direction="out"/>
269       </method>
270       <method name="clearAllConnections">
271           <arg type="b" name="state" direction="out"/>
272       </method>
273       <method name="getNbSources">
274           <arg type="i" name="state" direction="out"/>
275       </method>
276       <method name="getNbDestinations">
277           <arg type="i" name="state" direction="out"/>
278       </method>
279       <method name="getConnectionMap">
280           <arg type="ai" name="map" direction="out"/>
281       </method>
282       <method name="setConnectionMap">
283           <arg type="ai" name="map" direction="in"/>
284           <arg type="i" name="state" direction="out"/>
285       </method>
286       <method name="hasPeakMetering">
287           <arg type="b" name="hasmetering" direction="out"/>
288       </method>
289       <method name="getPeakValue">
290           <arg type="i" name="srcid" direction="in"/>
291           <arg type="i" name="dstid" direction="in"/>
292           <arg type="d" name="value" direction="out"/>
293       </method>
294   </interface>
295
296 </node>
Note: See TracBrowser for help on using the browser.