source: roaraudio/doc/new-cmds @ 4090:467b5e28d1ed

Last change on this file since 4090:467b5e28d1ed was 4090:467b5e28d1ed, checked in by phi, 14 years ago

added list of todos

File size: 4.1 KB
Line 
1+DEVCTL = NEEDS_CONST
2 +:version (uint8)
3 +:type (uint8)
4 +:vendor (uint8)
5 +VENDOR_ROARAUDIO = 0
6 +VENDOR_BASICDEV  = 1
7 +:subtype (uint8)
8 +:flags (uint8)
9 +:ot (uint8)
10 +:(id) (uint16) #(if not UNIID or SID)
11 +:data... (vardata)
12+CAPS = NEEDS_CONST
13 +:version (uint8)
14 +:type (uint8)
15 +:flags (uint16)
16 +CT_CAPS      = 0
17 +::dataarray (dataarray)
18 +:::captype (TODO)
19 +:::... (TODO)
20 +CT_STANDARDS = 1
21 +::dataarray
22 +:::stdvendor (uint8)
23 +STDV_ROARAUDIO = 0
24 +STDV_PROTO     = 1
25 +STDV_RFC       = 2
26 +:::stdversion (uint8)
27 +:::standard (uint16)
28+WAIT = NEEDS_CONST
29 +:version (TODO)
30 +:flags (TODO)
31 +:... (TODO)
32+NOTIFY = NEEDS_CONST
33 +structof(WAIT)
34+SEEK = NEEDS_CONST
35 +:version (TODO)
36 +:flags (TODO)
37 +:destination possition (TODO)
38 +:destination possition whence (TODO)
39 +:hint pos (TODO)
40 +:hint whence (TODO)
41 +:hint quality (TODO)
42 +:seek at (TODO)
43 +:seek to (TODO)
44 +:seek whence (TODO)
45 +SF_CONT_WHILE_SEEK = 0x01
46 +SF_CONT_ON_ERROR   = 0x02
47 +SF_HINT            = 0x04
48 +SF_SEEK            = 0x08
49 +HQ_BAD       = 0
50 +HQ_BAD_NB    = 1 #(bad, not before this possition)
51 +HQ_NEAR      = 2
52 +HQ_NEAR_NB   = 3 #(Near, not before this possition)
53 +HQ_GOOD      = 4
54 +HQ_GOOD_NB   = 5 #(good, not before this possition)
55 +HQ_EXACT     = HQ_EXACT_NB #(ID 6 is skiped here)
56 +HQ_EXACT_NB  = 7
57 +WHENCE_BEGIN = 0
58 +WHENCE_CUR   = 1
59 +WHENCE_END   = 2
60+CLIENTCTL = NEEDS_CONST
61 +:version (uint8)
62 +:subcmd (uint8)
63 +:flags (uint16)
64 +:data (vardata)
65 +CC_HASHTABLE = PARA_HASHTABLE
66 +CC_WININFO   = PARA_WININFO
67 +CC_PROPTABLE = PARA_PROPTABLE
68+LOOKUP = NEEDS_CONST
69 +:version (TODO)
70 +:flags (TODO)
71 +:ot (TODO)
72 +:ht (TODO) #(hash type)
73 +:hash... (vardata)
74*SERVER_INFO
75 +IT_SERVER   = NEEDS_CONST
76 +IT_COUNTERS = NEEDS_CONST
77 +IT_LISTEN   = NEEDS_CONST
78*[GS]ET_STREAM_PARA
79 *PARA_INFO
80  +STREAMSTATE_ERROR    = 5 #(Stream is in some error condition, parent client should close or kick it)
81  +STREAMSTATE_NEEDSEEK = 6 #(like Error but stream can become usable again if you do a seek)
82 +PARA_HASHTABLE  = NEEDS_CONST   #(GTN, UUID, ...)
83  +:htsettertype (TODO)
84  +:htsettersize (TODO)
85  +:htsetterdata (TODO)
86  +:hashtable... (dataarray)
87  +::httype
88  +::htsize
89  +::htfunction
90  +HT_MD5        = 1
91  +HT_SHA1       = 2
92  +HT_RIPEMD160  = 3
93  +HT_SHA256     = 8
94  +HT_SHA384     = 9
95  +HT_SHA512     = 10
96  +HT_SHA224     = 11
97  +HT_UUID       = 70000
98  +HT_GTN8       = 70001
99  +HT_GTN16      = 70002
100  +HT_GTN32      = 70004
101  +HT_GTN64      = 70008
102  +HT_CLIENTID   = 71000 + OT_CLIENT   = 71001
103  +HT_STREAMID   = 71000 + OT_STREAM   = 71002
104  +HT_SOURCEID   = 71000 + OT_SOURCE   = 71003
105  +HT_SAMPLEID   = 71000 + OT_SAMPLE   = 71004
106  +HT_MIXERID    = 71000 + OT_MIXER    = 71005
107  +HT_BRIDGEID   = 71000 + OT_BRIDGE   = 71006
108  +HT_LISTENID   = 71000 + OT_LISTEN   = 71007
109  +HT_ACTIONID   = 71000 + OT_ACTION   = 71008
110  +HT_MSGQUEUEID = 71000 + OT_MSGQUEUE = 71009
111  +HT_MSGBUSID   = 71000 + OT_MSGBUS   = 71010
112  +HF_NONE       = 0 #(This entry does not have anything to do with the object...)
113  +HF_OBJECT     = 1 #(This is an entry for exacltly this object)
114  +HF_PARENT     = 2 #(This is the parent object)
115  +HF_LOGIC      = 3 #(This is a logic group of this object)
116  +HF_PERMANENT  = 4 #(This can be used to acces exactly this object with a premanent address)
117  +HF_DEVICE     = 5 #(The device this is on or the device itself if this is a device)
118  +HF_DISK       = 6 #(The disk this is on, if this is a disk the same as HF_DEVICE)
119  +HF_SONG       = 7 #(This identifys the Song. This may for example be used with Tantalos)
120  +HF_APP        = 8 #(The application, device or other source generating this object)
121  +HF_FILE       = 9 #(The source file for this object)
122 +PARA_WININFO   = NEEDS_CONST
123 +PARA_PROPTABLE = NEEDS_CONST
124*KICK,...
125 +OT_MIXER    =  5
126 +OT_BRIDGE   =  6
127 +OT_LISTEN   =  7
128 +OT_ACTION   =  8
129 +OT_MSGQUEUE =  9 #(Message queue, message is gone as soon as one client took it)
130 +OT_MSGBUS   = 10 #(Message bus, message is gone as soon as all listening clients got it)
131*ATTACH
132 +ATTACH_MIXER    = NEEDS_CONST
133 +ATTACH_BRIDGE   = NEEDS_CONST
134*SET_VOL
135 +SET_VOL_MS      = 3
136 +SET_VOL_UNMAPED = 4 #(like roarctls mono/stereo...)
Note: See TracBrowser for help on using the repository browser.