Scroll to navigation

ROARD(1) System Manager's Manual: roard ROARD(1)

NAME

roard - RoarAudio sound server

SYNOPSIS

roard [OPTIONS]...

DESCRIPTION

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.

GENERAL OPTIONS

NOTE: This list is incomplete!

Print some help text.

Go into background after startup.

Ask for higher priority. May be used multiple times.

Sets default memory locking level to LEVEL.

Valid levels are:

No memory is locked at all.

Only very few (important) objects are locked in memory.

Few (important) objects are locked in memory.

Many objects are locked in memory.

All known objects are locked in memory.

All known objects are locked in memory but also pages provided by the system like stack and heap.

All currently used pages are locked in memory.

All pages (including future allocated pages) are locked in memory.

Use 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.

Enable watchdog. This will terminate the daemon if something bad happened and it halted.

Set watchdog time to TIME (in ms).

Asks the server to use the given pidfile. This is recommended.

Messure exact audio clock frequency based on system time. obsolete.

SERVER INFO

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.

STARTUP AND SHUTDOWN

Start a new server.

Stop the currently running server. See also --shutdown.

Stop the currently running server and start up a new server.

Terminates 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.

Auto 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.

STANDBY MODE

Start in standby mode.

Go into standby mode if no streams are active.

LOGGING

Increment the verbosity level. Can be used multiple times.

Log to syslog.

PLUGINS

Load the given plugin.

Arguments for the plugin. (must be given before the --plugin-load).

List loaded plugins.

SECURITY

Chroots to the given directory. This improves the security. This normally needs root privileg's.

USER AND GROUPS

Sets GroupID to the audio group as specified via -G.

Sets 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).

AUTH OPTIONS

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:

This is used to disable an authentication method.

Used internally. Should not be used.

The client is only allowed to do some basic operations only affecting it's own connection.

Guest access (read only). The client may list resources but not alter them.

Normal user. The client may create and alter most resources.

Power 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.

The 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.

Sets the access level for guest connections. Set to "none" to disable guest access.

Sets the access level for clients authenticated by trust auth. Set to "none" to disable trust auth.

Trust root user.

Do not trust root user.

Generate a new authfile with a fresh cookie.

Load all keys from a given authfile.

Sets the type for the authfile.

Sets the access level for the given authfile.

Add another authfile.

AUDIO OPTIONS

Set server sample rate.

Set server bits.

Set server channels.

Use a existing audio profile.

GENERAL STREAM OPTIONS

Sets default flags for a given stream directions. Examples: play=-meta, bidir=+antiecho

DRIVER OPTIONS

Shows a list of all available drivers.

This option is obsolete. Use -o instead.

This option is obsolete. Use -O instead.

Set the output driver. To get a list of all drivers use --list-driver.

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.

Sets options for the new stream. See STREAM OPTIONS.

Adds another output.

Marks the output primary.

SOURCE OPTIONS

List all supported sources.

Adds a source of the given type.

Sets the device or filename for the source. Type may depend on the source type.

Sets options for the current source.

Adds another source.

Marks the source as primary. If the source reaches EOF roard will quit automatically.

HARDWARE MIXER OPTIONS

List all supported hardware mixers.

Add a hardware mixer of given type.

Sets the device used for the hardware mixer.

Sets options for the hardware mixer. See MIXER OPTIONS.

Adds another hardware mixer.

Marks the mixer primary.

CODEC FILTER

List all supported codecfilters and codecs.

MIDI OPTIONS

Disable console based MIDI synth.

Enables console based MIDI synth.

Sets device for MIDI console. Example: /dev/console

Enables simple software synth.

Disables simple software synth.

LIGHT CONTROL OPTIONS

Sets the number of light channels. Examples: 512, 1024

RADIO DATA SYSTEM OPTIONS

Sets the Programme Identification (PI).

Sets the Programme Service Name (PS).

Sets the Programme Type (PTY).

Sets the Traffic Programme (TP) flag

Enables sending of RDS Clock Time (CT).

X11 OPTIONS

Sets the display to use.

Enable X11 support.

NETWORK OPTIONS

Sets defaults for TCP/IP Socket.

-4, -6
Use IPv4 or IPv6 mode.

-64
Try to downgrade IPv6 sockets into IPv4 sockets.

Sets defaults for UNIX Domain Socket.

Sets defaults for DECnet Socket.

Sets the port the server should listen on.

Sets the hostname or path the server should listen on.

List supported protocols.

Sets the protocol used for the listening socket.

Set stream parameters for protocols needing stream options. Defaults to server defaults.

List supported profiles.

--proto-profile Use the given profile for the listening socket.

Adds a new listening socket.

Do not listen for new clients (only useful for relaing, impleys --terminate).

Expects a client on the given FH. This may be useful with --no-listen.

Close the given FH. This is not useful for endusers but used internaly.

Sets the MTU for Jambo Packets.

OPENSLP OPTIONS

Enable OpenSLP support.

STREAM OPTIONS

Sets the sample rate.

Sets the number of channels.

Sets the number of bits per sample.

Sets the codec.

Sets 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.

Sets 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.

Sets the meta flag.

Sets the sync flag.

Marks this stream as primary.

Sets the cleanmeta flag.

Sets 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

MIXER OPTIONS

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.

ENVIRONMENT VARIABLES

The users home directory.

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.

The driver to select. Same as -d.

The device to select. Same as -D.

BUGS

There are lots of bugs...

SEE ALSO

roar-config(1), roarcat(1), roarcat2sock(1), roarcatad(1), roarctl(1), roarfilt(1), roarfish(1), roarmon(1), roarsockconnect(1), roartypes(1), roarvorbis(1), RoarAudio(7).

HISTORY

For history information see RoarAudio(7).

October 2010 RoarAudio