source: roaraudio/doc/man1/roarctl.1 @ 5159:b226b74be970

Last change on this file since 5159:b226b74be970 was 5159:b226b74be970, checked in by phi, 13 years ago

Updated manpages (pr1)

File size: 5.8 KB
Line 
1.\" roard.1:
2
3.TH "roarctl" "1" "July 2008" "RoarAudio" "System Manager's Manual: roard"
4
5.SH NAME
6
7roarctl \- RoarAudio sound server controll tool
8
9.SH SYNOPSIS
10
11roarcat [OPTIONS]... COMMAND [OPTS] [COMMAND [OPTS] [COMMAND [OPTS] [...]]]
12
13.SH "DESCRIPTION"
14This tool controlls the RoarAudio's sound server.
15This is done by sending commands to the server. See \fBCOMMANDS\fR for a list.
16
17.SH "GENERAL OPTIONS"
18.TP
19\fB--help\fR
20Print some help text.
21
22.TP
23\fB--verbose\fR, \fB\-v\fR
24Be verbose. May be used multiple times.
25
26.TP
27\fB--list-libstandards\fR
28Similar to serverstandards, reports the list of standard libroar supports.
29
30.TP
31\fB--list-aiprofiles\fR
32Show audio info profiles and exit.
33
34.TP
35\fB--enum-servers\fR
36List servers found on the network.
37Depending on the build options of libroar this includes results from many tests
38like standard server locations, OpenSLP located servers, X11 located servers,
39DECnet's neighbor and IP's ARP table and other sources.
40
41.SH "NETWORK OPTIONS"
42.TP
43\fB--server SERVER\fR
44The server to connect to
45
46.SH "BASIC COMMANDS"
47.TP
48\fBhelp\fR
49Same as \fB--help\fR.
50
51.TP
52\fBlistaiprofiles\fR
53List audio info profiles.
54
55.TP
56\fBaiprofileget PROFILE\fR
57Display a the given audio info profile.
58
59.TP
60\fBsleep TIME\fR
61Sleeps for TIME seconds.
62
63.TP
64\fBping NUM\fR
65Pings the server NUM times. This is done by sending NOOP commands to the server.
66The response time as well as as a small statistics section is printed.
67
68This is not supported on all platforms.
69
70.TP
71\fBwhoami\fR
72Report client ID of roarctl on the current server.
73
74.TP
75\fBstandby\fR, \fBoff\fR, \fBresume\fR, \fBon\fR
76Brings the server into standby mode or back into achtive (operating mode).
77
78.TP
79\fBstandbymode\fR
80Tells if the server is in standby mode or not.
81
82.TP
83\fBexit\fR
84Quits the server.
85
86.TP
87\fBterminate\fR
88Terminates the server as soon as all clients disconnected and all streams reaches EOF.
89
90
91.SH "STREAM COMMANDS"
92.TP
93\fBvolume STREAMID CHANNELS VOL0 VOL1 VOL2...\fR
94Sets the mixing level for a stream with id \fISTREAMID\fR.
95
96\fICHANNELS\fR is the nummber of channels to set volume.
97This should be the number of channels of the stream or a symbolic name.
98Currently the symbolic names \fBmono\fR and \fBstereo\fR are allowed.
99If you use \fBmono\fR all channels will get the level you give as
100\fIVOL0\fR. If you use \fBstereo\fR it will try to set the mixing levels
101as you are used from stereo setups even if the setup is not in stereo.
102
103The parameters \fIVOL0\fR ... \fIVOLn\fR and the number of them depends
104on what you gave as \fICHANNELS\fR. You have to give exactly \fICHANNELS\fR
105parameters.
106
107If you give a numerical (not symbolic) value for \fICHANNELS\fR and
108the stream does have a diffrent number of channels the behavor is undefined.
109In the current implementation only the first \fICHANNELS\fR channels will be updated.
110This behavor may change in the future.
111
112.TP
113\fBkick TYPE ID\fR
114Kicks an object of \fITYPE\fR with id \fIID\fR.
115Possible types are: \fBclient stream sample source\fR
116
117You can get the \fIID\fR via \fBlist*\fR (see bellow).
118
119.TP
120\fBnewvirtual P D E R B C\fR
121Adds a new virtual (child) stream.
122This is used with container formats such as RAUM, Ogg and Matroska.
123
124
125Parameters:
126.RS
127.TP
128\fBP\fR
129Stream ID of \fBP\fRarent stream.
130.TP
131\fBD\fR
132Stream \fBD\fRirection.
133.TP
134\fBE\fR
135Stream cod\fBE\fRc.
136.TP
137\fBR\fR
138Sample \fBR\fRate.
139.TP
140\fBB\fR
141\fBB\fRits per sample.
142.TP
143\fBC\fR
144Number of \fBC\fRhannels.
145.RE
146
147.TP
148\fBflag ID FLAGS\fR, \fBunflag ID FLAGS\fR, \fBtoogleflag ID FLAGS\fR
149Sets, removes or toggles flags on a stream. ID is the stream id.
150FLAGS is a comma separated list of flags.
151
152It is not possible to set all kinds of flags at runtime.
153
154.TP
155\fBprotectflag ID FLAGS\fR
156Protects flags on a stream. ID is the stream id.
157FLAGS is a comma separated list of flags.
158
159Protected flags can not be changed anymore after the they got protected.
160
161.SH "META DATA COMMANDS"
162.TP
163\fBrole ID ROLE\fR
164Set stream role ROLE on stream ID.
165
166.TP
167\fBmetaget ID TYPE\fR
168Read meta date of type TYPE from stream ID.
169
170.TP
171\fBmetasave ID FILE\fR
172Saves the meta data of stream ID to file FILE.
173The Format is one KEY=Value pair per line.
174The same format is used by Xiph's tools.
175
176.TP
177\fBmetaload ID FILE\fR
178Load meta data from file FILE into stream ID. The format is the same
179as for \fBmetasave\fR.
180
181.SH "SERVER INFO COMMANDS"
182.TP
183\fBserverinfo\fR
184Gets general information about the server.
185This includes software vendor and version.
186
187.TP
188\fBservertime\fR
189Reports the server's system time.
190
191.TP
192\fBserverstandards\fR
193Report a list of standards the server supports.
194
195.TP
196\fBlibstandards\fR
197Similar to serverstandards, reports the list of standard libroar supports.
198Same as \fB--list-libstandards\fR.
199
200.TP
201\fBserveroinfo\fR
202Gets Information about server output.
203
204.TP
205\fBserveroinfo2 DIR\fR
206Gets Information about server output for a given direction.
207
208.SH "LISTING COMMANDS"
209.TP
210\fBlistclients\fR
211Gets Information about clients.
212
213.TP
214\fBclientinfo ID\fR
215Gets Information about client ID.
216
217.TP
218\fBliststreams\fR
219Gets Information about streams.
220
221.TP
222\fBstreaminfo ID\fR
223Gets Information about stream ID.
224
225.TP
226\fBallinfo\fR
227Same as "\fBserveroinfo\fR \fBlistclients\fR \fBliststreams\fR".
228
229.SH "ENVIRONMENT VARIABLES"
230Bellow only the basic environment varibales are listend.
231For a complete list see \fBlibroar\fR(7).
232
233.TP
234\fBHOME\fR
235The users home directory.
236
237.TP
238\fBROAR_SERVER\fR
239The address of the listening server. This may be in form of host:port for TCP/IP connections
240and /path/to/sock for UNIX Domain Sockets.
241This is the same as the \fB--server\fR option.
242
243.SH "BUGS"
2441) Make the meta data commands api-fixed and list them here.
245
2462) more often check if the user gave us enough arguments.
247
248.SH "SEE ALSO"
249\fBroarvorbis\fR(1),
250\fBroarfish\fR(1),
251\fBroarbaseclients\fR(1),
252\fBroartestclients\fR(1),
253\fBlibroar\fR(7),
254\fBRoarAudio\fR(7).
255
256.SH "HISTORY"
257
258For history information see \fBRoarAudio\fR(7).
259
260.\" ll
Note: See TracBrowser for help on using the repository browser.