source: roaraudio/doc/man1/roard.1 @ 5146:716400712348

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

Moved error frame handling into proto functions (pr0)

File size: 10.0 KB
Line 
1.\" roard.1:
2
3.TH "ROARD" "1" "October 2010" "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 most common RoarAudio sound server.
16The RoarAudio sound server is the central component in a RoarAudio setup.
17It mixes up diffrent audio streams from it's clients to send them
18to it's outputs. Such outputs include soundcards, monitoring clients,
19streaming servers and more.
20
21.SH "GENERAL OPTIONS"
22\fBNOTE: This list is incomplete!\fR
23
24.TP
25\fB--help\fR
26Print some help text.
27
28.TP
29\fB--daemon\fR
30Go into background after startup.
31
32.TP
33\fB--realtime\fR
34Ask for higher priority. May be used multiple times.
35
36.TP
37\fB--memlock LEVEL\fR
38Sets default memory locking level to LEVEL.
39
40.TP
41\fB--pidfile PIDFILE\fR
42Asks the server to use the given pidfile. This is recommended.
43
44.TP
45\fB--sysclocksync\fR
46Messure exact audio clock frequency based on system time. obsolete.
47
48.SH "SERVER INFO"
49.TP
50\fB--location  LOC\fR
51Sets lion-readable location of server.
52Examples: livingroom, room 32
53
54.TP
55\fB--description  DESC\fR
56Sets lion-readable description of server.
57Examples: Stereo, UKW Transmitter
58
59.SH "STARTUP AND SHUTDOWN"
60.TP
61\fB--start\fR
62Start a new server.
63
64.TP
65\fB--stop\fR
66Stop the currently running server.
67See also \fB--shutdown\fR.
68
69.TP
70\fB--restart\fR
71Stop the currently running server and start up a new server.
72
73.TP
74\fB--shutdown\fR
75Terminates the currently running server after last client has quit.
76This is the most clean way to shutdown a running server as it does not kick
77any clients.
78This option must not be confused with \fB--terminate\fR.
79
80.TP
81\fB--terminate\fR
82Auto terminates the new server after last client has quit.
83This option must not be confused with \fB--shutdown\fR.
84
85.TP
86\fB--script-postdown S\fR
87Run script S after server shutdown.
88The script is passed to a shell.
89Any shell feature can be used within the string.
90
91.SH "STANDBY MODE"
92.TP
93\fB--standby\fR
94Start in standby mode.
95
96.TP
97\fB--auto-standby\fR
98Go into standby mode if no streams are active.
99
100.SH "LOGGING"
101.TP
102\fB--verbose\fR
103Increment the verbosity level. Can be used multiple times.
104
105.TP
106\fB--log-syslog\fR
107Log to syslog.
108
109.SH "PLUGINS"
110.TP
111\fB--plugin-load\fR
112Load the given plugin.
113
114.SH "SECURITY"
115
116.TP
117\fB--chroot DIR\fR
118Chroots to the given directory. This improves the security. This normally needs root privileg's.
119
120.SH "USER AND GROUPS"
121.TP
122\fB--setgid\fR
123Sets GroupID to the audio group as specified via \fB-G\fR.
124
125.TP
126\fB--setuid\fR
127Sets UserID to the audio user as specified via \fB-U\fR.
128
129.TP
130\fB-G GROUP\fR
131Sets the group for the UNIX Domain Socket, (default: audio)
132You need the permittions to change the GID.
133
134.TP
135\fB-U USER\fR
136Sets the user for the UNIX Domain Socket, (default: do not set)
137You need the permittions to change the UID (normaly only root has).
138
139.SH "AUTH OPTIONS"
140.TP
141\fB--guest-acclev\fR
142Sets the access level for guest connections. Set to "none" to disable guest access.
143
144.TP
145\fB--trust-acclev\fR
146Sets the access level for clients authenticated by trust auth.
147Set to "none" to disable trust auth.
148
149.TP
150\fB--trust-root\fR
151Trust root user.
152
153.TP
154\fB--no-trust-root\fR
155Do not trust root user.
156
157.TP
158\fB--authfile-gen FILE\fR
159Generate a new authfile with a fresh cookie.
160
161.TP
162\fB--authfile-load FILE\fR
163Load all keys from a given authfile.
164
165.TP
166\fB--authfile-type TYPE\fR
167Sets the type for the authfile.
168
169.TP
170\fB--authfile-acclev ACCLEV\fR
171Sets the access level for the given authfile.
172
173.TP
174\fB--new-authfile\fR
175Add another authfile.
176
177
178.SH "AUDIO OPTIONS"
179.TP
180\fB--rate RATE\fR, \fB-R RATE\fR
181Set server sample rate.
182
183.TP
184\fB--bits BITS\fR, \fB-B BITS\fR
185Set server bits.
186
187.TP
188\fB--chans CHANNELS\fR, \fB-C CHANNELS\fR
189Set server channels.
190
191.TP
192\fB--aiprofile  PROFILE\fR
193Use a existing audio profile.
194
195.SH "GENERAL STREAM OPTIONS"
196.TP
197\fB--stream-flags\fR
198Sets default flags for a given stream directions.
199Examples: play=-meta, bidir=+antiecho
200
201.SH "DRIVER OPTIONS"
202.TP
203\fB--list-driver\fR
204Shows a list of all available drivers.
205
206.TP
207\fB--driver\fR, \fB-d\fR
208.\"Set the output driver. To get a list of all drivers use \fB--list-driver\fR.
209This option is obsolete.
210Use \fB-o\fR instead.
211
212.TP
213\fB--device\fR, \fB-D\fR
214.\"Set the device for the output driver. Possible devices depends on the driver.
215.\"They may be a path to a device node or a hostname.
216.\"Use \fB--list-driver\fR to get a hint.
217.\"This option will obsolete soon.
218This option is obsolete.
219Use \fB-O\fR instead.
220
221.TP
222\fB--odriver\fR, \fB-o\fR
223Set the output driver. To get a list of all drivers use \fB--list-driver\fR.
224
225.TP
226\fB--odevice\fR, \fB-O\fR
227Set the device for the output driver. Possible devices depends on the driver.
228They may be a path to a device node or a hostname.
229Use \fB--list-driver\fR to get a hint.
230
231.TP
232\fB-oO\fR
233Sets options for the new stream. See STREAM OPTIONS.
234
235.TP
236\fB-oN\fR
237Adds another output.
238
239.TP
240\fB-oP\fR
241Marks the output primary.
242
243
244.SH "SOURCE OPTIONS"
245.TP
246\fB--list-sources\fR
247List all supported sources.
248
249.TP
250\fB--source\fR, \fB-s\fR
251Adds a source of the given type.
252
253.TP
254\fB-S\fR
255Sets the device or filename for the source. Type may depend on the source type.
256
257.TP
258\fB-sO\fR
259Sets options for the current source.
260
261.TP
262\fB-sN\fR
263Adds another source.
264
265.TP
266\fB-sP\fR
267Marks the source as primary. If the source reaches EOF roard will quit automatically.
268
269.SH "HARDWARE MIXER OPTIONS"
270.TP
271\fB--list-mixers\fR
272List all supported hardware mixers.
273
274.TP
275\fB--mixer\fR, \fB-m\fR
276Add a hardware mixer of given type.
277
278.TP
279\fB-M\fR
280Sets the device used for the hardware mixer.
281
282.TP
283\fB-mO\fR
284Sets options for the hardware mixer.
285See MIXER OPTIONS.
286
287.TP
288\fB-mN\fR
289Adds another hardware mixer.
290
291.TP
292\fB-mP\fR
293Marks the mixer primary.
294
295.SH "CODEC FILTER"
296.TP
297\fB--list-cf\fR
298List all supported codecfilters and codecs.
299
300.SH "MIDI OPTIONS"
301.TP
302\fB--midi-no-console\fR
303Disable console based MIDI synth.
304
305.TP
306\fB--midi-console-enable\fR
307Enables console based MIDI synth.
308
309.TP
310\fB--midi-console\fR
311Sets device for MIDI console.
312Example: /dev/console
313
314.TP
315\fB--ssynth-enable\fR
316Enables simple software synth.
317
318.TP
319\fB--ssynth-disable\fR
320Disables simple software synth.
321
322.SH "LIGHT CONTROL OPTIONS"
323.TP
324\fB--light-channels\fR
325Sets the number of light channels.
326Examples: 512, 1024
327
328.SH "RADIO DATA SYSTEM OPTIONS"
329.TP
330\fB--rds-pi\fR
331Sets the Programme Identification (PI).
332
333.TP
334\fB--rds-ps\fR
335Sets the Programme Service Name (PS).
336
337.TP
338\fB--rds-pty\fR
339Sets the Programme Type (PTY).
340
341.TP
342\fB--rds-tp\fR
343Sets the Traffic Programme (TP) flag
344
345.TP
346\fB--rds-ct\fR
347Enables sending of RDS Clock Time (CT).
348
349.SH "X11 OPTIONS"
350.TP
351\fB--x11-display\fR, \fB--display\fR
352Sets the display to use.
353
354.TP
355\fB--x11\fR
356Enable X11 support.
357
358.SH "NETWORK OPTIONS"
359.TP
360\fB--tcp\fR, \fB-t\fR
361Sets defaults for TCP/IP Socket.
362
363.TP
364\fB-4\fR, \fB-6\fR
365Use IPv4 or IPv6 mode.
366
367.TP
368\fB-64\fR
369Try to downgrade IPv6 sockets into IPv4 sockets.
370
371.TP
372\fB--unix\fR, \fB-u\fR
373Sets defaults for UNIX Domain Socket.
374
375.TP
376\fB--decnet\fR, \fB-n\fR
377Sets defaults for DECnet Socket.
378
379.TP
380\fB--port\fR, \fB-p\fR
381Sets the port the server should listen on.
382
383.TP
384\fB--bind\fR, \fB-b\fR, \fB--sock\fR
385Sets the hostname or path the server should listen on.
386
387.TP
388\fB--list-proto\fR
389List supported protocols.
390
391.TP
392\fB--proto\fR
393Sets the protocol used for the listening socket.
394
395.TP
396\fB--proto-dir\fR, \fB--proto-rate\fR, \fB--proto-bits\fR, \fB--proto-codec\fR, \fB--proto-chans\fR, \fB--proto-aiprofile\fR
397Set stream parameters for protocols needing stream options.
398Defaults to server defaults.
399
400.TP
401\fB--list-profiles\fR
402List supported profiles.
403
404\fB--proto-profile\fR
405Use the given profile for the listening socket.
406
407.TP
408\fB--new-sock\fR
409Adds a new listening socket.
410
411.TP
412\fB--no-listen\fR
413Do not listen for new clients (only useful for relaing, impleys \-\-terminate).
414
415.TP
416\fB--client-fh FH\fR
417Expects a client on the given FH. This may be useful with \fB--no-listen\fR.
418
419.TP
420\fB--close-fh FH\fR
421Close the given FH. This is not useful for endusers but used internaly.
422
423.TP
424\fB--jumbo-mtu\fR
425Sets the MTU for Jambo Packets.
426
427.SH "OPENSLP OPTIONS"
428.TP
429\fB--slp\fR
430Enable OpenSLP support.
431
432.SH "STREAM OPTIONS"
433.TP
434\fBrate\fR
435Sets the sample rate.
436
437.TP
438\fBchannels\fR
439Sets the number of channels.
440
441.TP
442\fBbits\fR
443Sets the number of bits per sample.
444
445.TP
446\fBcodec\fR
447Sets the codec.
448
449.TP
450\fBblocks\fR
451Sets the number of memory blocks that sould be used by the devices.
452Most devices only support a few values or don't support this option at all.
453If this option or the specifyed value is not supported by the device this is not
454handled as fatal error.
455
456.TP
457\fBblocksize\fR
458Sets the size of the memory blocks used by the device.
459Most devices only support a few values or don't support this option at all.
460If this option or the specifyed value is not supported by the device this is not
461handled as fatal error.
462
463.TP
464\fBmeta\fR
465Sets the meta flag.
466
467.TP
468\fBsync\fR
469Sets the sync flag.
470
471.TP
472\fBprimary\fR
473Marks this stream as primary.
474
475.TP
476\fBcleanmeta\fR
477Sets the cleanmeta flag.
478
479.TP
480\fBautoconf\fR
481Sets the autoconf flag.
482This flag is not supported by all drivers.
483If the flag is set and the devices does not support this there is no
484fatal error if the device could be opend with defaults.
485
486.TP
487Example:
488rate=44100,bits=16,channels=2,codec=pcm,sync
489
490.SH "MIXER OPTIONS"
491.TP
492\fRprimary\fR
493Makes this stream as primary.
494
495.TP
496\fBautoconf\fR
497Sets the autoconf flag.
498
499.TP
500\fBpassmixer\fR
501Sets the passmixer flag.
502
503.TP
504\fBname\fR
505Sets the name for the device.
506
507.TP
508\fBsubs\fR
509Sets list of subdevices. This is driver specific.
510
511.SH "ENVIRONMENT VARIABLES"
512.TP
513\fBHOME\fR
514The users home directory.
515
516.TP
517\fBROAR_SERVER\fR
518The address of the listening server. This may be in form of host:port for TCP/IP connections
519and /path/to/sock for UNIX Domain Sockets.
520
521.TP
522\fBROAR_DRIVER\fR
523The driver to select. Same as \fB-d\fR.
524
525.TP
526\fBROAR_DEVICE\fR
527The device to select. Same as \fB-D\fR.
528
529.SH "BUGS"
530There are lots of bugs...
531
532.SH "SEE ALSO"
533\fBroar-config\fR(1),
534\fBroarcat\fR(1),
535\fBroarcat2sock\fR(1),
536\fBroarcatad\fR(1),
537\fBroarctl\fR(1),
538\fBroarfilt\fR(1),
539\fBroarfish\fR(1),
540\fBroarmon\fR(1),
541\fBroarsockconnect\fR(1),
542\fBroartypes\fR(1),
543\fBroarvorbis\fR(1),
544\fBRoarAudio\fR(7).
545
546.SH "HISTORY"
547
548For history information see \fBRoarAudio\fR(7).
549
550.\" ll
Note: See TracBrowser for help on using the repository browser.