source: roaraudio/doc/man1/roard.1 @ 1512:c6b548688545

Last change on this file since 1512:c6b548688545 was 1512:c6b548688545, checked in by phi, 15 years ago

corrected info about roard's -sN and added new output stream options to manpage

File size: 4.9 KB
Line 
1.\" roard.1:
2
3.TH "ROARD" "1" "July 2008" "RoarAudio" "System Manager's Manual: roard"
4
5.SH NAME
6
7roard \- RoarAudio sound server
8
9.SH SYNOPSIS
10
11\fBroard\fR [OPTIONS]...
12
13.SH "DESCRIPTION"
14
15\fBroard\fR is the RoarAudio central daemon. It mixes up diffrent audio streams from it's clients to send them
16as a single stream to the soundcard.
17
18.SH "GENERAL OPTIONS"
19\fBNOTE: This list is incomplete!\fR
20
21.TP
22\fB--help\fR
23Print some help text.
24
25.TP
26\fB--daemon\fR
27Go into background after startup.
28
29.TP
30\fB--realtime\fR
31Ask for higher priority. May be used multiple times.
32
33.TP
34\fB--chroot DIR\fR
35Chroots to the given directory. This improves the security. This normally needs root privileg's.
36
37.SH "USER AND GROUPS"
38.TP
39\fB--setgid\fR
40Sets GroupID to the audio group as specified via \fB-G\fR.
41
42.TP
43\fB--setuid\fR
44Sets UserID to the audio user as specified via \fB-U\fR.
45
46.TP
47\fB-G GROUP\fR
48Sets the group for the UNIX Domain Socket, (default: audio)
49You need the permittions to change the GID.
50
51.TP
52\fB-U USER\fR
53Sets the user for the UNIX Domain Socket, (default: do not set)
54You need the permittions to change the UID (normaly only root has).
55
56
57.SH "AUDIO OPTIONS"
58.TP
59\fB--rate RATE\fR, \fB-R RATE\fR
60Set server sample rate.
61
62.TP
63\fB--bits BITS\fR, \fB-B BITS\fR
64Set server bits.
65
66.TP
67\fB--chans CHANNELS\fR, \fB-C CHANNELS\fR
68Set server channels.
69
70.SH "DRIVER OPTIONS"
71.TP
72\fB--list-driver\fR
73Shows a list of all available drivers.
74
75.TP
76\fB--driver\fR, \fB-d\fR
77.\"Set the output driver. To get a list of all drivers use \fB--list-driver\fR.
78This option is obsolete.
79Use \fB-o\fR instead.
80
81.TP
82\fB--device\fR, \fB-D\fR
83.\"Set the device for the output driver. Possible devices depends on the driver.
84.\"They may be a path to a device node or a hostname.
85.\"Use \fB--list-driver\fR to get a hint.
86.\"This option will obsolete soon.
87This option is obsolete.
88Use \fB-O\fR instead.
89
90.TP
91\fB--odriver\fR, \fB-o\fR
92Set the output driver. To get a list of all drivers use \fB--list-driver\fR.
93
94.TP
95\fB--odevice\fR, \fB-O\fR
96Set the device for the output driver. Possible devices depends on the driver.
97They may be a path to a device node or a hostname.
98Use \fB--list-driver\fR to get a hint.
99
100.TP
101\fB-oO\fR
102Sets options for the new stream. See STREAM OPTIONS.
103
104.TP
105\fB-oN\fR
106Adds another output.
107
108.TP
109\fB-oP\fR
110Marks the output primary.
111
112
113.SH "SOURCE OPTIONS"
114.TP
115\fB--source\fR, \fB-s\fR
116Adds a source of the given type.
117
118.TP
119\fB-S\fR
120Sets the device or filename for the source. Type may depend on the source type.
121
122.TP
123\fB-sO\fR
124Sets options for the current source.
125
126.TP
127\fB-sN\fR
128Adds another source.
129
130.TP
131\fB-sP\fR
132Marks the source as primary. If the source reaches EOF roard will quit automatically.
133
134.SH "NETWORK OPTIONS"
135.TP
136\fB--tcp\fR, \fB-t\fR
137Sets defaults for TCP/IP Socket.
138
139.TP
140\fB--unix\fR, \fB-u\fR
141Sets defaults for UNIX Domain Socket.
142
143.TP
144\fB--decnet\fR, \fB-n\fR
145Sets defaults for DECnet Socket.
146
147.TP
148\fB--port\fR, \fB-p\fR
149Sets the port the server should listen on.
150
151.TP
152\fB--bind\fR, \fB-b\fR, \fB--sock\fR
153Sets the hostname or path the server should listen on.
154
155.TP
156\fB--no-listen\fR
157Do not listen for new clients (only usefull for relaing, impleys --terminate).
158
159.TP
160\fB--client-fh FH\fR
161Expects a client on the given FH. This may be useful with \fB--no-listen\fR.
162
163.TP
164\fB--close-fh FH\fR
165Close the given FH. This is not useful for endusers but used internaly.
166
167
168.SH "STREAM OPTIONS"
169.TP
170\fBrate\fR
171Sets the sample rate.
172
173.TP
174\fBchannels\fR
175Sets the number of channels.
176
177.TP
178\fBbits\fR
179Sets the number of bits per sample.
180
181.TP
182\fBcodec\fR
183Sets the codec.
184
185.TP
186\fBblocks\fR
187Sets the number of memory blocks that sould be used by the devices.
188Most devices only support a few values or don't support this option at all.
189If this option or the specifyed value is not supported by the device this is not
190handled as fatal error.
191
192.TP
193\fBmeta\fR
194Sets the meta flag.
195
196.TP
197\fBsync\fR
198Sets the sync flag.
199
200.TP
201\fBprimary\fR
202Marks this stream as primary.
203
204.TP
205\fBcleanmeta\fR
206Sets the cleanmeta flag.
207
208.TP
209\fBautoconf\fR
210Sets the autoconf flag.
211This flag is not supported by all drivers.
212If the flag is set and the devices does not support this there is no
213fatal error if the device could be opend with defaults.
214
215.TP
216Example:
217rate=44100,bits=16,channels=2,codec=pcm,sync
218
219.SH "ENVIRONMENT VARIABLES"
220.TP
221\fBHOME\fR
222The users home directory.
223
224.TP
225\fBROAR_SERVER\fR
226The address of the listening server. This may be in form of host:port for TCP/IP connections
227and /path/to/sock for UNIX Domain Sockets.
228
229.TP
230\fBROAR_DRIVER\fR
231The driver to select. Same as \fB-d\fR.
232
233.TP
234\fBROAR_DEVICE\fR
235The device to select. Same as \fB-D\fR.
236
237.SH "BUGS"
238There are lots of bugs...
239
240.SH "SEE ALSO"
241\fBroar-config\fR(1),
242\fBroarcat\fR(1),
243\fBroarcat2sock\fR(1),
244\fBroarcatad\fR(1),
245\fBroarctl\fR(1),
246\fBroarfilt\fR(1),
247\fBroarfish\fR(1),
248\fBroarmon\fR(1),
249\fBroarsockconnect\fR(1),
250\fBroartypes\fR(1),
251\fBroarvorbis\fR(1),
252\fBRoarAudio\fR(7).
253
254.SH "HISTORY"
255
256For history information see \fBRoarAudio\fR(7).
257
258.\" ll
Note: See TracBrowser for help on using the repository browser.