source: roaraudio/doc/man1/roard.1 @ 5620:88dd28a25bec

Last change on this file since 5620:88dd28a25bec was 5620:88dd28a25bec, checked in by phi, 12 years ago

Updated manpage and bash_completion for roard, see #291

File size: 12.4 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
40Valid levels are:
41.RS
42.TP
43\fBnone\fR
44No memory is locked at all.
45
46.TP
47\fBlow\fR
48Only very few (important) objects are locked in memory.
49
50.TP
51\fBmedium\fR
52Few (important) objects are locked in memory.
53
54.TP
55\fBhigh\fR
56Many objects are locked in memory.
57
58.TP
59\fBnearlyall\fR
60All known objects are locked in memory.
61
62.TP
63\fBnearlyallsys\fR
64All known objects are locked in memory but also pages provided by the system like stack and heap.
65
66.TP
67\fBallcur\fR
68All currently used pages are locked in memory.
69
70.TP
71\fBall\fR
72All pages (including future allocated pages) are locked in memory.
73
74.TP
75\fBdefault\fR
76Use defaults (the default).
77
78.RE
79
80A higher memlock level may result in memory allocations problems at runtime and even segfauls on some systems.
81(VM killed processes). Check your current system limits before altering this value.
82
83.TP
84\fB--watchdog\fR
85Enable watchdog. This will terminate the daemon if something bad happened and it halted.
86
87.TP
88\fB--watchdog-time TIME\fR
89Set watchdog time to TIME (in ms).
90
91.TP
92\fB--pidfile PIDFILE\fR
93Asks the server to use the given pidfile. This is recommended.
94
95.TP
96\fB--sysclocksync\fR
97Messure exact audio clock frequency based on system time. obsolete.
98
99.SH "SERVER INFO"
100.TP
101\fB--location  LOC\fR
102Sets lion-readable location of server.
103Examples: livingroom, room 32
104
105.TP
106\fB--description  DESC\fR
107Sets lion-readable description of server.
108Examples: Stereo, UKW Transmitter
109
110.SH "STARTUP AND SHUTDOWN"
111.TP
112\fB--start\fR
113Start a new server.
114
115.TP
116\fB--stop\fR
117Stop the currently running server.
118See also \fB--shutdown\fR.
119
120.TP
121\fB--restart\fR
122Stop the currently running server and start up a new server.
123
124.TP
125\fB--shutdown\fR
126Terminates the currently running server after last client has quit.
127This is the most clean way to shutdown a running server as it does not kick
128any clients.
129This option must not be confused with \fB--terminate\fR.
130
131.TP
132\fB--terminate\fR
133Auto terminates the new server after last client has quit.
134This option must not be confused with \fB--shutdown\fR.
135
136.TP
137\fB--script-postdown S\fR
138Run script S after server shutdown.
139The script is passed to a shell.
140Any shell feature can be used within the string.
141
142.SH "STANDBY MODE"
143.TP
144\fB--standby\fR
145Start in standby mode.
146
147.TP
148\fB--auto-standby\fR
149Go into standby mode if no streams are active.
150
151.SH "LOGGING"
152.TP
153\fB--verbose\fR
154Increment the verbosity level. Can be used multiple times.
155
156.TP
157\fB--log-syslog\fR
158Log to syslog.
159
160.SH "PLUGINS"
161.TP
162\fB--plugin-load FILENAME\fR
163Load the given plugin.
164
165.TP
166\fB--plugin-args ARGS\fR
167Arguments for the plugin.
168(must be given before the \-\-plugin-load).
169
170.TP
171\fB--list-plugins\fR
172List loaded plugins.
173
174.SH "SECURITY"
175
176.TP
177\fB--chroot DIR\fR
178Chroots to the given directory. This improves the security. This normally needs root privileg's.
179
180.SH "USER AND GROUPS"
181.TP
182\fB--setgid\fR
183Sets GroupID to the audio group as specified via \fB-G\fR.
184
185.TP
186\fB--setuid\fR
187Sets UserID to the audio user as specified via \fB-U\fR.
188
189.TP
190\fB-G GROUP\fR
191Sets the group for the UNIX Domain Socket, (default: audio)
192You need the permittions to change the GID.
193
194.TP
195\fB-U USER\fR
196Sets the user for the UNIX Domain Socket, (default: do not set)
197You need the permittions to change the UID (normaly only root has).
198
199.SH "AUTH OPTIONS"
200The following options control the access rights of connections.
201Some of them take an access level. The access level is one from the following list:
202.RS
203.TP
204\fBnone\fR
205This is used to disable an authentication method.
206
207.TP
208\fBidented\fR
209Used internally. Should not be used.
210
211.TP
212\fBconctl\fR
213The client is only allowed to do some basic operations only affecting it's own connection.
214
215.TP
216\fBguest\fR
217Guest access (read only). The client may list resources but not alter them.
218
219.TP
220\fBuser\fR
221Normal user. The client may create and alter most resources.
222
223.TP
224\fBpwruser\fR
225Power User. The client can create and alter all resources and do all operation but operations
226which would break the POSIX right system. The user is not allowed to control the server itself
227like terminating it or alter (system) resources with the rights of the user runnung roard.
228
229This is the access level a fully trusted user in a multi user setup should have.
230
231.TP
232\fBall\fR
233The client can do everything. This includes operations which may alter system resources (like files)
234with the rights of the user running roard.
235
236This accesslevel should be given to the user in case of a single user setup or root or some administrator
237in a multi user setup.
238.RE
239
240.TP
241\fB--guest-acclev ACCESSLEVEL\fR
242Sets the access level for guest connections. Set to "none" to disable guest access.
243
244.TP
245\fB--trust-acclev ACCESSLEVEL\fR
246Sets the access level for clients authenticated by trust auth.
247Set to "none" to disable trust auth.
248
249.TP
250\fB--trust-root\fR
251Trust root user.
252
253.TP
254\fB--no-trust-root\fR
255Do not trust root user.
256
257.TP
258\fB--authfile-gen FILE\fR
259Generate a new authfile with a fresh cookie.
260
261.TP
262\fB--authfile-load FILE\fR
263Load all keys from a given authfile.
264
265.TP
266\fB--authfile-type TYPE\fR
267Sets the type for the authfile.
268
269.TP
270\fB--authfile-acclev ACCLEV\fR
271Sets the access level for the given authfile.
272
273.TP
274\fB--new-authfile\fR
275Add another authfile.
276
277
278.SH "AUDIO OPTIONS"
279.TP
280\fB--rate RATE\fR, \fB-R RATE\fR
281Set server sample rate.
282
283.TP
284\fB--bits BITS\fR, \fB-B BITS\fR
285Set server bits.
286
287.TP
288\fB--chans CHANNELS\fR, \fB-C CHANNELS\fR
289Set server channels.
290
291.TP
292\fB--aiprofile  PROFILE\fR
293Use a existing audio profile.
294
295.SH "GENERAL STREAM OPTIONS"
296.TP
297\fB--stream-flags\fR
298Sets default flags for a given stream directions.
299Examples: play=-meta, bidir=+antiecho
300
301.SH "DRIVER OPTIONS"
302.TP
303\fB--list-driver\fR
304Shows a list of all available drivers.
305
306.TP
307\fB--driver\fR, \fB-d\fR
308.\"Set the output driver. To get a list of all drivers use \fB--list-driver\fR.
309This option is obsolete.
310Use \fB-o\fR instead.
311
312.TP
313\fB--device\fR, \fB-D\fR
314.\"Set the device for the output driver. Possible devices depends on the driver.
315.\"They may be a path to a device node or a hostname.
316.\"Use \fB--list-driver\fR to get a hint.
317.\"This option will obsolete soon.
318This option is obsolete.
319Use \fB-O\fR instead.
320
321.TP
322\fB--odriver\fR, \fB-o\fR
323Set the output driver. To get a list of all drivers use \fB--list-driver\fR.
324
325.TP
326\fB--odevice\fR, \fB-O\fR
327Set the device for the output driver. Possible devices depends on the driver.
328They may be a path to a device node or a hostname.
329Use \fB--list-driver\fR to get a hint.
330
331.TP
332\fB-oO\fR
333Sets options for the new stream. See STREAM OPTIONS.
334
335.TP
336\fB-oN\fR
337Adds another output.
338
339.TP
340\fB-oP\fR
341Marks the output primary.
342
343
344.SH "SOURCE OPTIONS"
345.TP
346\fB--list-sources\fR
347List all supported sources.
348
349.TP
350\fB--source\fR, \fB-s\fR
351Adds a source of the given type.
352
353.TP
354\fB-S\fR
355Sets the device or filename for the source. Type may depend on the source type.
356
357.TP
358\fB-sO\fR
359Sets options for the current source.
360
361.TP
362\fB-sN\fR
363Adds another source.
364
365.TP
366\fB-sP\fR
367Marks the source as primary. If the source reaches EOF roard will quit automatically.
368
369.SH "HARDWARE MIXER OPTIONS"
370.TP
371\fB--list-mixers\fR
372List all supported hardware mixers.
373
374.TP
375\fB--mixer\fR, \fB-m\fR
376Add a hardware mixer of given type.
377
378.TP
379\fB-M\fR
380Sets the device used for the hardware mixer.
381
382.TP
383\fB-mO\fR
384Sets options for the hardware mixer.
385See MIXER OPTIONS.
386
387.TP
388\fB-mN\fR
389Adds another hardware mixer.
390
391.TP
392\fB-mP\fR
393Marks the mixer primary.
394
395.SH "CODEC FILTER"
396.TP
397\fB--list-cf\fR
398List all supported codecfilters and codecs.
399
400.SH "MIDI OPTIONS"
401.TP
402\fB--midi-no-console\fR
403Disable console based MIDI synth.
404
405.TP
406\fB--midi-console-enable\fR
407Enables console based MIDI synth.
408
409.TP
410\fB--midi-console\fR
411Sets device for MIDI console.
412Example: /dev/console
413
414.TP
415\fB--ssynth-enable\fR
416Enables simple software synth.
417
418.TP
419\fB--ssynth-disable\fR
420Disables simple software synth.
421
422.SH "LIGHT CONTROL OPTIONS"
423.TP
424\fB--light-channels\fR
425Sets the number of light channels.
426Examples: 512, 1024
427
428.SH "RADIO DATA SYSTEM OPTIONS"
429.TP
430\fB--rds-pi\fR
431Sets the Programme Identification (PI).
432
433.TP
434\fB--rds-ps\fR
435Sets the Programme Service Name (PS).
436
437.TP
438\fB--rds-pty\fR
439Sets the Programme Type (PTY).
440
441.TP
442\fB--rds-tp\fR
443Sets the Traffic Programme (TP) flag
444
445.TP
446\fB--rds-ct\fR
447Enables sending of RDS Clock Time (CT).
448
449.SH "X11 OPTIONS"
450.TP
451\fB--x11-display\fR, \fB--display\fR
452Sets the display to use.
453
454.TP
455\fB--x11\fR
456Enable X11 support.
457
458.SH "NETWORK OPTIONS"
459.TP
460\fB--tcp\fR, \fB-t\fR
461Sets defaults for TCP/IP Socket.
462
463.TP
464\fB-4\fR, \fB-6\fR
465Use IPv4 or IPv6 mode.
466
467.TP
468\fB-64\fR
469Try to downgrade IPv6 sockets into IPv4 sockets.
470
471.TP
472\fB--unix\fR, \fB-u\fR
473Sets defaults for UNIX Domain Socket.
474
475.TP
476\fB--decnet\fR, \fB-n\fR
477Sets defaults for DECnet Socket.
478
479.TP
480\fB--port\fR, \fB-p\fR
481Sets the port the server should listen on.
482
483.TP
484\fB--bind\fR, \fB-b\fR, \fB--sock\fR
485Sets the hostname or path the server should listen on.
486
487.TP
488\fB--list-proto\fR
489List supported protocols.
490
491.TP
492\fB--proto\fR
493Sets the protocol used for the listening socket.
494
495.TP
496\fB--proto-dir\fR, \fB--proto-rate\fR, \fB--proto-bits\fR, \fB--proto-codec\fR, \fB--proto-chans\fR, \fB--proto-aiprofile\fR
497Set stream parameters for protocols needing stream options.
498Defaults to server defaults.
499
500.TP
501\fB--list-profiles\fR
502List supported profiles.
503
504\fB--proto-profile\fR
505Use the given profile for the listening socket.
506
507.TP
508\fB--new-sock\fR
509Adds a new listening socket.
510
511.TP
512\fB--no-listen\fR
513Do not listen for new clients (only useful for relaing, impleys \-\-terminate).
514
515.TP
516\fB--client-fh FH\fR
517Expects a client on the given FH. This may be useful with \fB--no-listen\fR.
518
519.TP
520\fB--close-fh FH\fR
521Close the given FH. This is not useful for endusers but used internaly.
522
523.TP
524\fB--jumbo-mtu\fR
525Sets the MTU for Jambo Packets.
526
527.SH "OPENSLP OPTIONS"
528.TP
529\fB--slp\fR
530Enable OpenSLP support.
531
532.SH "STREAM OPTIONS"
533.TP
534\fBrate\fR
535Sets the sample rate.
536
537.TP
538\fBchannels\fR
539Sets the number of channels.
540
541.TP
542\fBbits\fR
543Sets the number of bits per sample.
544
545.TP
546\fBcodec\fR
547Sets the codec.
548
549.TP
550\fBblocks\fR
551Sets the number of memory blocks that sould be used by the devices.
552Most devices only support a few values or don't support this option at all.
553If this option or the specifyed value is not supported by the device this is not
554handled as fatal error.
555
556.TP
557\fBblocksize\fR
558Sets the size of the memory blocks used by the device.
559Most devices only support a few values or don't support this option at all.
560If this option or the specifyed value is not supported by the device this is not
561handled as fatal error.
562
563.TP
564\fBmeta\fR
565Sets the meta flag.
566
567.TP
568\fBsync\fR
569Sets the sync flag.
570
571.TP
572\fBprimary\fR
573Marks this stream as primary.
574
575.TP
576\fBcleanmeta\fR
577Sets the cleanmeta flag.
578
579.TP
580\fBautoconf\fR
581Sets the autoconf flag.
582This flag is not supported by all drivers.
583If the flag is set and the devices does not support this there is no
584fatal error if the device could be opend with defaults.
585
586.TP
587Example:
588rate=44100,bits=16,channels=2,codec=pcm,sync
589
590.SH "MIXER OPTIONS"
591.TP
592\fRprimary\fR
593Makes this stream as primary.
594
595.TP
596\fBautoconf\fR
597Sets the autoconf flag.
598
599.TP
600\fBpassmixer\fR
601Sets the passmixer flag.
602
603.TP
604\fBname\fR
605Sets the name for the device.
606
607.TP
608\fBsubs\fR
609Sets list of subdevices. This is driver specific.
610
611.SH "ENVIRONMENT VARIABLES"
612.TP
613\fBHOME\fR
614The users home directory.
615
616.TP
617\fBROAR_SERVER\fR
618The address of the listening server. This may be in form of host:port for TCP/IP connections
619and /path/to/sock for UNIX Domain Sockets.
620
621.TP
622\fBROAR_DRIVER\fR
623The driver to select. Same as \fB-d\fR.
624
625.TP
626\fBROAR_DEVICE\fR
627The device to select. Same as \fB-D\fR.
628
629.SH "BUGS"
630There are lots of bugs...
631
632.SH "SEE ALSO"
633\fBroar-config\fR(1),
634\fBroarcat\fR(1),
635\fBroarcat2sock\fR(1),
636\fBroarcatad\fR(1),
637\fBroarctl\fR(1),
638\fBroarfilt\fR(1),
639\fBroarfish\fR(1),
640\fBroarmon\fR(1),
641\fBroarsockconnect\fR(1),
642\fBroartypes\fR(1),
643\fBroarvorbis\fR(1),
644\fBRoarAudio\fR(7).
645
646.SH "HISTORY"
647
648For history information see \fBRoarAudio\fR(7).
649
650.\" ll
Note: See TracBrowser for help on using the repository browser.