source: roaraudio/doc/man1/roard.1 @ 4799:86cf662fe334

Last change on this file since 4799:86cf662fe334 was 4799:86cf662fe334, checked in by phi, 13 years ago

added infos for new authfile options

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