HOME
The users home directory.
Roaraudio sound server
roard [OPTIONS] ...
roard is the most common RoarAudio sound server. The RoarAudio sound server is the central component in a RoarAudio setup. It mixes up different audio streams from it's clients to send them to it's outputs. Such outputs include soundcards, monitoring clients, streaming servers and more.
NOTE: This list is incomplete!
--help
Print some help text.
--daemon
Go into background after startup.
--realtime
Ask for higher priority. May be used multiple times.
--memlock LEVEL
Sets default memory locking level to LEVEL.
Valid levels are:
noneNo memory is locked at all.
lowOnly very few (important) objects are locked in memory.
mediumFew (important) objects are locked in memory.
highMany objects are locked in memory.
nearlyallAll known objects are locked in memory.
nearlyallsysAll known objects are locked in memory but also pages provided by the system like stack and heap.
allcurAll currently used pages are locked in memory.
allAll pages (including future allocated pages) are locked in memory.
defaultUse defaults (the default).
A higher memlock level may result in memory allocations problems at runtime and even segfauls on some systems. (VM killed processes). Check your current system limits before altering this value.
--watchdog
Enable watchdog. This will terminate the daemon if something bad happened and it halted.
--watchdog-time TIME
Set watchdog time to TIME (in ms).
--pidfile PIDFILE
Asks the server to use the given pidfile. This is recommended.
--sysclocksync
Messure exact audio clock frequency based on system time. obsolete.
Sets lion-readable location of server. Examples: livingroom, room 32
Sets lion-readable description of server. Examples: Stereo, UKW Transmitter
Sets contact information for the server.
Sets the serial number for this device or server. This is normally only used by embedded systems.
Sets the URL of the user interface for this device or server. This is normally only used by embedded systems. It is common to set this to a URL of type HTTP but all protocols are considered valid. This includes ssh, telnet and others.
--startStart a new server.
--stopStop the currently running server. See also --shutdown.
--restartStop the currently running server and start up a new server.
--shutdownTerminates the currently running server after last client has quit. This is the most clean way to shutdown a running server as it does not kick any clients. This option must not be confused with --terminate.
--terminateAuto terminates the new server after last client has quit. This option must not be confused with --shutdown.
Run script S after server shutdown. The script is passed to a shell. Any shell feature can be used within the string.
|
Start in standby mode. |
|---|---|
|
Go into standby mode if no streams are active. |
|
Increment the verbosity level. Can be used multiple times. |
|---|---|
|
Log to syslog. |
--plugin-load FILENAME
|
Load the given plugin. |
|---|---|
--plugin-args ARGS
|
Arguments for the plugin. (must be given before the --plugin-load). |
|
List loaded plugins. |
Chroots to the given directory. This improves the security. This normally needs root privileg's.
--setgidSets GroupID to the audio group as specified via -G.
--setuidSets UserID to the audio user as specified via -U.
Sets the group for the UNIX Domain Socket, (default: audio) You need the permittions to change the GID.
Sets the user for the UNIX Domain Socket, (default: do not set) You need the permittions to change the UID (normally only root has).
The following options control the access rights of connections. Some of them take an access level. The access level is one from the following list:
noneThis is used to disable an authentication method.
identedUsed internally. Should not be used.
conctlThe client is only allowed to do some basic operations only affecting it's own connection.
guestGuest access (read only). The client may list resources but not alter them.
userNormal user. The client may create and alter most resources.
pwruserPower User. The client can create and alter all resources and do all operation but operations which would break the POSIX right system. The user is not allowed to control the server itself like terminating it or alter (system) resources with the rights of the user runnung roard.
This is the access level a fully trusted user in a multi user setup should have.
allThe client can do everything. This includes operations which may alter system resources (like files) with the rights of the user running roard.
This accesslevel should be given to the user in case of a single user setup or root or some administrator in a multi user setup.
--guest-acclev ACCESSLEVEL
Sets the access level for guest connections. Set to "none" to disable guest access.
--trust-acclev ACCESSLEVEL
Sets the access level for clients authenticated by trust auth. Set to "none" to disable trust auth.
--trust-root
Trust root user.
--no-trust-root
Do not trust root user.
--authfile-gen FILE
Generate a new authfile with a fresh cookie.
--authfile-load FILE
Load all keys from a given authfile.
--authfile-type TYPE
Sets the type for the authfile.
--authfile-acclev ACCLEV
Sets the access level for the given authfile.
--new-authfile
Add another authfile.
--rate RATE, -R RATE
Set server sample rate.
--bits BITS, -B BITS
Set server bits.
--chans CHANNELS, -C CHANNELS
Set server channels.
--aiprofile PROFILE
Use a existing audio profile.
--stream-flags
Sets default flags for a given stream directions. Examples: play=-meta, bidir=+antiecho
--list-driver
Shows a list of all available drivers.
--driver, -d
This option is obsolete. Use -o instead.
--device, -D
This option is obsolete. Use -O instead.
--odriver, -o
Set the output driver. To get a list of all drivers use --list-driver.
--odevice, -O
Set the device for the output driver. Possible devices depends on the driver. They may be a path to a device node or a hostname. Use --list-driver to get a hint.
-oO
Sets options for the new stream. See STREAM OPTIONS.
-oN
Adds another output.
-oP
Marks the output primary.
--list-sources
List all supported sources.
--source, -s
Adds a source of the given type.
-S
Sets the device or filename for the source. Type may depend on the source type.
-sO
Sets options for the current source.
-sN
Adds another source.
-sP
Marks the source as primary. If the source reaches EOF roard will quit automatically.
--list-mixers
List all supported hardware mixers.
--mixer, -m
Add a hardware mixer of given type.
-M
Sets the device used for the hardware mixer.
-mO
Sets options for the hardware mixer. See MIXER OPTIONS.
-mN
Adds another hardware mixer.
-mP
Marks the mixer primary.
--list-cfList all supported codecfilters and codecs.
--midi-no-console
Disable console based MIDI synth.
--midi-console-enable
Enables console based MIDI synth.
--midi-console
Sets device for MIDI console. Example: /dev/console
--ssynth-enable
Enables simple software synth.
--ssynth-disable
Disables simple software synth.
--light-channels
Sets the number of light channels. Examples: 512, 1024
--rds-pi
Sets the Programme Identification (PI).
--rds-ps
Sets the Programme Service Name (PS).
--rds-pty
Sets the Programme Type (PTY).
--rds-tp
Sets the Traffic Programme (TP) flag
--rds-ct
Enables sending of RDS Clock Time (CT).
--x11-display, --display
Sets the display to use.
--x11
Enable X11 support.
--tcp, -t
Sets defaults for TCP/IP Socket.
-4, -6
Use IPv4 or IPv6 mode.
-64
Try to downgrade IPv6 sockets into IPv4 sockets.
--unix, -u
Sets defaults for UNIX Domain Socket.
--decnet, -n
Sets defaults for DECnet Socket.
--port, -p
Sets the port the server should listen on.
--bind, -b, --sock
Sets the hostname or path the server should listen on.
--list-proto
List supported protocols.
--proto
Sets the protocol used for the listening socket.
--proto-dir, --proto-rate, --proto-bits, --proto-codec, --proto-chans, --proto-aiprofile
Set stream parameters for protocols needing stream options. Defaults to server defaults.
--list-profiles
List supported profiles.
--proto-profile Use the given profile for the listening socket.
--new-sock
Adds a new listening socket.
--no-listen
Do not listen for new clients (only useful for relaing, impleys --terminate).
--client-fh FH
Expects a client on the given FH. This may be useful with --no-listen.
--close-fh FH
Close the given FH. This is not useful for endusers but used internaly.
--jumbo-mtu
Sets the MTU for Jambo Packets.
--slp
Enable OpenSLP support.
rateSets the sample rate.
channelsSets the number of channels.
bitsSets the number of bits per sample.
codecSets the codec.
blocksSets the number of memory blocks that should be used by the devices. Most devices only support a few values or don't support this option at all. If this option or the specifyed value is not supported by the device this is not handled as fatal error.
blocksizeSets the size of the memory blocks used by the device. Most devices only support a few values or don't support this option at all. If this option or the specifyed value is not supported by the device this is not handled as fatal error.
metaSets the meta flag.
syncSets the sync flag.
primaryMarks this stream as primary.
cleanmetaSets the cleanmeta flag.
autoconfSets the autoconf flag. This flag is not supported by all drivers. If the flag is set and the devices does not support this there is no fatal error if the device could be opend with defaults.
rate=44100,bits=16,channels=2,codec=pcm,sync
primary
|
Makes this stream as primary. |
|---|---|
|
Sets the autoconf flag. |
|
Sets the passmixer flag. |
|
Sets the name for the device. |
|
Sets list of subdevices. This is driver specific. |
HOME
The users home directory.
ROAR_SERVER
The address of the listening server. This may be in form of host:port for TCP/IP connections and /path/to/sock for UNIX Domain Sockets.
ROAR_DRIVER
The driver to select. Same as -d.
ROAR_DEVICE
The device to select. Same as -D.
6 releases since Debian 6.0 (Squeeze); the text changed 4 times.
--aiprofile since Debian 7 (Wheezy);
--authfile-acclev since Debian 7 (Wheezy);
--authfile-gen since Debian 7 (Wheezy);
--authfile-load since Debian 7 (Wheezy);
--authfile-type since Debian 7 (Wheezy);
--display since Debian 7 (Wheezy);
--guest-acclev since Debian 7 (Wheezy);
--jumbo-mtu since Debian 7 (Wheezy);
--light-channels since Debian 7 (Wheezy);
--list-mixers since Debian 7 (Wheezy);
--list-profiles since Debian 7 (Wheezy);
--list-proto since Debian 7 (Wheezy);
--list-sources since Debian 7 (Wheezy);
--memlock since Debian 7 (Wheezy);
--midi-console since Debian 7 (Wheezy);
--midi-console-enable since Debian 7 (Wheezy);
--midi-no-console since Debian 7 (Wheezy);
--mixer since Debian 7 (Wheezy);
--new-authfile since Debian 7 (Wheezy);
--new-sock since Debian 7 (Wheezy);
--no-trust-root since Debian 7 (Wheezy);
--pidfile since Debian 7 (Wheezy);
--proto since Debian 7 (Wheezy);
--proto-aiprofile since Debian 7 (Wheezy);
--proto-bits since Debian 7 (Wheezy);
--proto-chans since Debian 7 (Wheezy);
--proto-codec since Debian 7 (Wheezy);
--proto-dir since Debian 7 (Wheezy);
--proto-rate since Debian 7 (Wheezy);
--rds-ct since Debian 7 (Wheezy);
--rds-pi since Debian 7 (Wheezy);
--rds-ps since Debian 7 (Wheezy);
--rds-pty since Debian 7 (Wheezy);
--rds-tp since Debian 7 (Wheezy);
--slp since Debian 7 (Wheezy);
--ssynth-disable since Debian 7 (Wheezy);
--ssynth-enable since Debian 7 (Wheezy);
--stream-flags since Debian 7 (Wheezy);
--sysclocksync since Debian 7 (Wheezy);
--trust-acclev since Debian 7 (Wheezy);
--trust-root since Debian 7 (Wheezy);
--watchdog since Debian 8 (Jessie);
--watchdog-time since Debian 8 (Jessie);
--x11 since Debian 7 (Wheezy);
--x11-display since Debian 7 (Wheezy);
-4 since Debian 7 (Wheezy);
-6 since Debian 7 (Wheezy);
-64 since Debian 7 (Wheezy);
-M since Debian 7 (Wheezy);
-m since Debian 7 (Wheezy);
-mN since Debian 7 (Wheezy);
-mO since Debian 7 (Wheezy);
-mP since Debian 7 (Wheezy).
--chroot until Debian 6.0 (Squeeze).