is the sound server for the rplay audio system. The server listens
for requests to play, pause, continue, and stop sounds using both the
RPLAY and RPTP protocols. Normally RPLAY requests are received on
port 5555/udp and RPTP on 5556/tcp. (Older ports 55555/udp and
55556/tcp are also supported) Access to the server is restricted using
rplayd can be started during the system boot process, via inetd, or by
individual users. root access may be required depending on audio
In most causes rplayd will play sounds that are available on the local
disk. However, rplayd can be sent sounds via the network and rplayd
can also contact other rplayds to share sound files. The index of
all the local sound files is stored in
and remote rplayds are specified in
Sounds received from other rplayds will be stored in a cache directory
normally located in
Cache entries are expired on an LRU basis.
Many sound file formats are supported by rplayd. These include:
AU AIFF WAV VOC UB UL
G.721 4-bit, G.723 3-bit, G.723 5-bit
Other formats can be played using external helper applications
which convert unknown file formats to CD quality data which
can then be played by rplayd. See rplay.helpers(5)
Several sounds can be played at once and sounds can be played at any
sample rate. rplayd can be configured to output many different
formats using the various --audio options.
On some systems, namely Solaris and Linux, rplayd can read sounds
directly from CDROM using CDDA. The special sound name
will play the entire CDROM.
will play tracks 3 through 5.
-A DEVICE, --audio-device=DEVICE
Use DEVICE for the audio device (/dev/dsp).
-B N, --audio-bits=N
Audio device bits per sample, 8 or 16.
Number of audio channels to use, 1 == mono, 2 == stereo.
-c N, --audio-close=N
Close /dev/dsp after N idle seconds, disabled with 0 (5).
-F N, --audio_flush=N
Flush /dev/dsp after N idle seconds, disabled with 0 (-1).
N = -1 : flush when spool is empty.
N = -2 : flush after each audio write. (not recommended)
N should be <= to the audio close timeout.
Tell rplayd to write audio data using FORMAT, where FORMAT
can be ulaw, linear-8, ulinear-8, linear-16, or ulinear-16.
(linear = signed, ulinear = unsigned)
Audio fragment size (0). The default size is zero which lets
the audio driver pick the "best" size. The size specified must
be a power of 2 greater than 16. Example: 256, 1024, 4096.
--audio-info=INFO, --info=INFO, -i INFO
Specify complete audio device information with one option.
INFO is of the form: format,sample-rate,bits,channels
Examples: `ulaw,8000,8,1' and `linear-16,44100,16,2'
Also provided are:
--audio-info-ulaw, --info-ulaw -> ulaw,8000,8,1
Attempt to match the sample rate of the audio device with
the sample rate of the current sound when no other sounds
are playing. If the match fails, --audio-sample-rate is used.
This option overrides --audio-bufsize.
Output audio to the specified audio port(s).
Valid ports are `speaker', `headphone', and `lineout'.
Multiple ports can be specified using `speaker,headphone,lineout'
-r N, --audio-rate=N
Write the audio buffer N times per second (0).
-R N, --audio-sample-rate=N
Sample rate of the audio device.
Enable host access authentication.
-D DIR, --cache-directory=DIR
Use DIR for rplay.cache (/tmp/.rplay-cache).
Remove the cache directory and all its contents when rplayd exists.
-s N, --cache-size=N
Maximum size in bytes of the rplay cache, disabled with 0 (8388608).