source: roaraudio/doc/man1/roard.1 @ 5592:da9a9bb6ece0

Last change on this file since 5592:da9a9bb6ece0 was 5592:da9a9bb6ece0, checked in by phi, 12 years ago

addded --list-plugins

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