source: roaraudio/doc/man1/roard.1 @ 5159:b226b74be970

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

Updated manpages (pr1)

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