source: roaraudio/doc/man1/roarctl.1 @ 4012:28bea7336add

Last change on this file since 4012:28bea7336add was 4012:28bea7336add, checked in by phi, 14 years ago

typos

File size: 3.6 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-v\fR
24Be verbose. May be used multiple times.
25
26.SH "NETWORK OPTIONS"
27.TP
28\fB--server SERVER\fR
29The server to connect to
30
31.SH "BASIC COMMANDS"
32.TP
33\fBhelp\fR
34Same as \fB--help\fR.
35
36.TP
37\fBsleep TIME\fR
38Sleeps for TIME seconds.
39
40.TP
41\fBstandby\fR, \fBoff\fR, \fBresume\fR, \fBon\fR
42Brings the server into standby mode or back into achtive (operating mode).
43
44.TP
45\fBstandbymode\fR
46Tells if the server is in standby mode or not.
47
48.TP
49\fBexit\fR
50Quits the server.
51
52.TP
53\fBterminate\fR
54Terminates the server as soon as all clients disconnected and all streams reaches EOF.
55
56
57.SH "STREAM COMMANDS"
58.TP
59\fBvolume STREAMID CHANNELS VOL0 VOL1 VOL2...\fR
60Sets the mixing level for a stream with id \fISTREAMID\fR.
61
62\fICHANNELS\fR is the nummber of channels to set volume.
63This should be the number of channels of the stream or a symbolic name.
64Currently the symbolic names \fBmono\fR and \fBstereo\fR are allowed.
65If you use \fBmono\fR all channels will get the level you give as
66\fIVOL0\fR. If you use \fBstereo\fR it will try to set the mixing levels
67as you are used from stereo setups even if the setup is not in stereo.
68
69The parameters \fIVOL0\fR ... \fIVOLn\fR and the number of them depends
70on what you gave as \fICHANNELS\fR. You have to give exactly \fICHANNELS\fR
71parameters.
72
73If you give a numerical (not symbolic) value for \fICHANNELS\fR and
74the stream does have a diffrent number of channels the behavor is undefined.
75In the current implementation only the first \fICHANNELS\fR channels will be updated.
76This behavor may change in the future.
77
78.TP
79\fBkick TYPE ID\fR
80Kicks an object of \fITYPE\fR with id \fIID\fR.
81Possible types are: \fBclient stream sample source\fR
82
83You can get the \fIID\fR via \fBlist*\fR (see bellow).
84
85.TP
86\fBflag ID FLAGS\fR, \fBunflag ID FLAGS\fR
87Sets or removes flags from a stream. ID is the stream id.
88FLAGS is a comma separated list of flags.
89
90It is not possible to set all kinds of flags at runtime.
91
92.SH "META DATA COMMANDS"
93.TP
94\fBmetasave ID FILE\fR
95Saves the meta data of stream ID to file FILE.
96The Format is one KEY=Value pair per line.
97The same format is used by Xiph's tools.
98
99.TP
100\fBmetaload ID FILE\fR
101Load meta data from file FILE into stream ID. The format is the same
102as for \fBmetasave\fR.
103
104.SH "LISTING COMMANDS"
105.TP
106\fBserveroinfo\fR
107Gets Information about server output.
108
109.TP
110\fBlistclients\fR
111Gets Information about clients.
112
113.TP
114\fBliststreams\fR
115Gets Information about streams.
116
117.TP
118\fBallinfo\fR
119Same as "\fBserveroinfo\fR \fBlistclients\fR \fBliststreams\fR".
120
121.SH "ENVIRONMENT VARIABLES"
122Bellow only the basic environment varibales are listend.
123For a complete list see \fBlibroar\fR(7).
124
125.TP
126\fBHOME\fR
127The users home directory.
128
129.TP
130\fBROAR_SERVER\fR
131The address of the listening server. This may be in form of host:port for TCP/IP connections
132and /path/to/sock for UNIX Domain Sockets.
133This is the same as the \fB--server\fR option.
134
135.SH "BUGS"
1361) Make the meta data commands api-fixed and list them here.
137
1382) more often check if the user gave us enough arguments.
139
140.SH "SEE ALSO"
141\fBroarvorbis\fR(1),
142\fBroarfish\fR(1),
143\fBroarbaseclients\fR(1),
144\fBroartestclients\fR(1),
145\fBlibroar\fR(7),
146\fBRoarAudio\fR(7).
147
148.SH "HISTORY"
149
150For history information see \fBRoarAudio\fR(7).
151
152.\" ll
Note: See TracBrowser for help on using the repository browser.