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

Revision 998, 6.7 kB (checked in by arnonym, 16 years ago)

Try to improve the generic mixer.

Moving the sliders now sends values to the ffado-dbus-server.

And the interface of Continuous is extended by getMinimum() and getMaximum() which should return the range of values this value can have. For now its just [-100,10]. The generic mixer gui adopts to the values returned by these functions...

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   </interface>
18
19   <interface name="org.ffado.Control.Element.Container">
20       <method name="getNbElements">
21           <arg type="i" name="count" direction="out"/>
22       </method>
23       <method name="getElementName">
24           <arg type="i" name="id" direction="in"/>
25           <arg type="s" name="name" direction="out"/>
26       </method>
27   </interface>
28
29   <interface name="org.ffado.Control.Element.ConfigRomX">
30       <method name="getGUID">
31           <arg type="s" name="guid" direction="out"/>
32       </method>
33       <method name="getVendorName">
34           <arg type="s" name="vendorname" direction="out"/>
35       </method>
36       <method name="getModelName">
37           <arg type="s" name="modelname" direction="out"/>
38       </method>
39       <method name="getVendorId">
40           <arg type="i" name="vendorid" direction="out"/>
41       </method>
42       <method name="getModelId">
43           <arg type="i" name="modelid" direction="out"/>
44       </method>
45       <method name="getUnitVersion">
46           <arg type="i" name="unitversion" direction="out"/>
47       </method>
48   </interface>
49
50   <interface name="org.ffado.Control.Element.Continuous">
51       <method name="setValue">
52           <arg type="d" name="value" direction="in"/>
53           <arg type="d" name="value" direction="out"/>
54       </method>
55       <method name="getValue">
56           <arg type="d" name="value" direction="out"/>
57       </method>
58       <method name="getMinimum">
59           <arg type="d" name="value" direction="out"/>
60       </method>
61       <method name="getMaximum">
62           <arg type="d" name="value" direction="out"/>
63       </method>
64       <method name="setValueIdx">
65           <arg type="i" name="idx" direction="in"/>
66           <arg type="d" name="value" direction="in"/>
67           <arg type="d" name="value" direction="out"/>
68       </method>
69       <method name="getValueIdx">
70           <arg type="i" name="idx" direction="in"/>
71           <arg type="d" name="value" direction="out"/>
72       </method>
73   </interface>
74
75   <interface name="org.ffado.Control.Element.Discrete">
76       <method name="setValue">
77           <arg type="i" name="value" direction="in"/>
78           <arg type="i" name="value" direction="out"/>
79       </method>
80       <method name="getValue">
81           <arg type="i" name="value" direction="out"/>
82       </method>
83       <method name="setValueIdx">
84           <arg type="i" name="idx" direction="in"/>
85           <arg type="i" name="value" direction="in"/>
86           <arg type="i" name="value" direction="out"/>
87       </method>
88       <method name="getValueIdx">
89           <arg type="i" name="idx" direction="in"/>
90           <arg type="i" name="value" direction="out"/>
91       </method>
92   </interface>
93
94   <interface name="org.ffado.Control.Element.Text">
95       <method name="setValue">
96           <arg type="s" name="value" direction="in"/>
97           <arg type="s" name="value" direction="out"/>
98       </method>
99       <method name="getValue">
100           <arg type="s" name="value" direction="out"/>
101       </method>
102   </interface>
103
104   <interface name="org.ffado.Control.Element.Register">
105       <method name="setValue">
106           <arg type="t" name="address" direction="in"/>
107           <arg type="t" name="value" direction="in"/>
108           <arg type="t" name="value" direction="out"/>
109       </method>
110       <method name="getValue">
111           <arg type="t" name="address" direction="in"/>
112           <arg type="t" name="value" direction="out"/>
113       </method>
114   </interface>
115
116   <interface name="org.ffado.Control.Element.Enum">
117       <method name="select">
118           <arg type="i" name="idx" direction="in"/>
119           <arg type="i" name="success" direction="out"/>
120       </method>
121       <method name="selected">
122           <arg type="i" name="idx" direction="out"/>
123       </method>
124       <method name="count">
125           <arg type="i" name="count" direction="out"/>
126       </method>
127       <method name="getEnumLabel">
128           <arg type="i" name="idx" direction="in"/>
129           <arg type="s" name="label" direction="out"/>
130       </method>
131   </interface>
132
133   <interface name="org.ffado.Control.Element.AttributeEnum">
134       <method name="select">
135           <arg type="i" name="idx" direction="in"/>
136           <arg type="i" name="success" direction="out"/>
137       </method>
138       <method name="selected">
139           <arg type="i" name="idx" direction="out"/>
140       </method>
141       <method name="count">
142           <arg type="i" name="count" direction="out"/>
143       </method>
144       <method name="attributeCount">
145           <arg type="i" name="count" direction="out"/>
146       </method>
147       <method name="getEnumLabel">
148           <arg type="i" name="idx" direction="in"/>
149           <arg type="s" name="label" direction="out"/>
150       </method>
151       <method name="getAttributeValue">
152           <arg type="i" name="idx" direction="in"/>
153           <arg type="s" name="value" direction="out"/>
154       </method>
155       <method name="getAttributeName">
156           <arg type="i" name="idx" direction="in"/>
157           <arg type="s" name="name" direction="out"/>
158       </method>
159   </interface>
160
161   <interface name="org.ffado.Control.Element.MatrixMixer">
162       <method name="setValue">
163           <arg type="i" name="row" direction="in"/>
164           <arg type="i" name="col" direction="in"/>
165           <arg type="d" name="value" direction="in"/>
166           <arg type="d" name="value" direction="out"/>
167       </method>
168       <method name="getValue">
169           <arg type="i" name="row" direction="in"/>
170           <arg type="i" name="col" direction="in"/>
171           <arg type="d" name="value" direction="out"/>
172       </method>
173       <method name="canWrite">
174           <arg type="i" name="row" direction="in"/>
175           <arg type="i" name="col" direction="in"/>
176           <arg type="i" name="value" direction="out"/>
177       </method>
178       <method name="getRowName">
179           <arg type="i" name="row" direction="in"/>
180           <arg type="s" name="rowname" direction="out"/>
181       </method>
182       <method name="getColName">
183           <arg type="i" name="col" direction="in"/>
184           <arg type="s" name="colname" direction="out"/>
185       </method>
186       <method name="getRowCount">
187           <arg type="i" name="nbrows" direction="out"/>
188       </method>
189       <method name="getColCount">
190           <arg type="i" name="nbrows" direction="out"/>
191       </method>
192
193   </interface>
194
195 </node>
Note: See TracBrowser for help on using the browser.