source: roaraudio/doc/man1/roard.1 @ 5275:811818eb5b81

Last change on this file since 5275:811818eb5b81 was 5275:811818eb5b81, checked in by phi, 12 years ago

Improved plugin loader a lot (Closes: #190)

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