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

Revision 965, 5.7 kB (checked in by ppalmers, 15 years ago)

add generic register read for focusrite devices

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   </interface>
46
47   <interface name="org.ffado.Control.Element.Continuous">
48       <method name="setValue">
49           <arg type="d" name="value" direction="in"/>
50           <arg type="d" name="value" direction="out"/>
51       </method>
52       <method name="getValue">
53           <arg type="d" name="value" direction="out"/>
54       </method>
55   </interface>
56
57   <interface name="org.ffado.Control.Element.Discrete">
58       <method name="setValue">
59           <arg type="i" name="value" direction="in"/>
60           <arg type="i" name="value" direction="out"/>
61       </method>
62       <method name="getValue">
63           <arg type="i" name="value" direction="out"/>
64       </method>
65   </interface>
66
67   <interface name="org.ffado.Control.Element.Text">
68       <method name="setValue">
69           <arg type="s" name="value" direction="in"/>
70           <arg type="s" name="value" direction="out"/>
71       </method>
72       <method name="getValue">
73           <arg type="s" name="value" direction="out"/>
74       </method>
75   </interface>
76
77   <interface name="org.ffado.Control.Element.Register">
78       <method name="setValue">
79           <arg type="t" name="address" direction="in"/>
80           <arg type="t" name="value" direction="in"/>
81           <arg type="t" name="value" direction="out"/>
82       </method>
83       <method name="getValue">
84           <arg type="t" name="address" direction="in"/>
85           <arg type="t" name="value" direction="out"/>
86       </method>
87   </interface>
88
89   <interface name="org.ffado.Control.Element.Enum">
90       <method name="select">
91           <arg type="i" name="idx" direction="in"/>
92           <arg type="i" name="success" direction="out"/>
93       </method>
94       <method name="selected">
95           <arg type="i" name="idx" direction="out"/>
96       </method>
97       <method name="count">
98           <arg type="i" name="count" direction="out"/>
99       </method>
100       <method name="getEnumLabel">
101           <arg type="i" name="idx" direction="in"/>
102           <arg type="s" name="label" direction="out"/>
103       </method>
104   </interface>
105
106   <interface name="org.ffado.Control.Element.AttributeEnum">
107       <method name="select">
108           <arg type="i" name="idx" direction="in"/>
109           <arg type="i" name="success" direction="out"/>
110       </method>
111       <method name="selected">
112           <arg type="i" name="idx" direction="out"/>
113       </method>
114       <method name="count">
115           <arg type="i" name="count" direction="out"/>
116       </method>
117       <method name="attributeCount">
118           <arg type="i" name="count" direction="out"/>
119       </method>
120       <method name="getEnumLabel">
121           <arg type="i" name="idx" direction="in"/>
122           <arg type="s" name="label" direction="out"/>
123       </method>
124       <method name="getAttributeValue">
125           <arg type="i" name="idx" direction="in"/>
126           <arg type="s" name="value" direction="out"/>
127       </method>
128       <method name="getAttributeName">
129           <arg type="i" name="idx" direction="in"/>
130           <arg type="s" name="name" direction="out"/>
131       </method>
132   </interface>
133
134   <interface name="org.ffado.Control.Element.MatrixMixer">
135       <method name="setValue">
136           <arg type="i" name="row" direction="in"/>
137           <arg type="i" name="col" direction="in"/>
138           <arg type="d" name="value" direction="in"/>
139           <arg type="d" name="value" direction="out"/>
140       </method>
141       <method name="getValue">
142           <arg type="i" name="row" direction="in"/>
143           <arg type="i" name="col" direction="in"/>
144           <arg type="d" name="value" direction="out"/>
145       </method>
146       <method name="canWrite">
147           <arg type="i" name="row" direction="in"/>
148           <arg type="i" name="col" direction="in"/>
149           <arg type="i" name="value" direction="out"/>
150       </method>
151       <method name="getRowName">
152           <arg type="i" name="row" direction="in"/>
153           <arg type="s" name="rowname" direction="out"/>
154       </method>
155       <method name="getColName">
156           <arg type="i" name="col" direction="in"/>
157           <arg type="s" name="colname" direction="out"/>
158       </method>
159       <method name="getRowCount">
160           <arg type="i" name="nbrows" direction="out"/>
161       </method>
162       <method name="getColCount">
163           <arg type="i" name="nbrows" direction="out"/>
164       </method>
165
166   </interface>
167
168 </node>
Note: See TracBrowser for help on using the browser.