root/trunk/libffado/tests/control-interface.xml

Revision 647, 3.4 kB (checked in by ppalmers, 14 years ago)

Add a matrix mixer control element

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.MatrixMixer">
68       <method name="setValue">
69           <arg type="i" name="row" direction="in"/>
70           <arg type="i" name="col" direction="in"/>
71           <arg type="d" name="value" direction="in"/>
72           <arg type="d" name="value" direction="out"/>
73       </method>
74       <method name="getValue">
75           <arg type="i" name="row" direction="in"/>
76           <arg type="i" name="col" direction="in"/>
77           <arg type="d" name="value" direction="out"/>
78       </method>
79       <method name="canWrite">
80           <arg type="i" name="row" direction="in"/>
81           <arg type="i" name="col" direction="in"/>
82           <arg type="i" name="value" direction="out"/>
83       </method>
84       <method name="getRowName">
85           <arg type="i" name="row" direction="in"/>
86           <arg type="s" name="rowname" direction="out"/>
87       </method>
88       <method name="getColName">
89           <arg type="i" name="col" direction="in"/>
90           <arg type="s" name="colname" direction="out"/>
91       </method>
92       <method name="getRowCount">
93           <arg type="i" name="nbrows" direction="out"/>
94       </method>
95       <method name="getColCount">
96           <arg type="i" name="nbrows" direction="out"/>
97       </method>
98
99   </interface>
100
101 </node>
Note: See TracBrowser for help on using the browser.