Intercept data bound for /dev/dsp and route it to rplayd
rplaydsp command [command arguments]
rplaydsp allows sound tools to interact with rplayd without having been coded to do so. Any program that writes data to /dev/dsp should work with rplaydsp.
The following environment variables can be used to modify the default behavior of rplaydsp.
RPLAY_HOST: By default, rplaydsp talks to the local rplayd. If you need the output to go somewhere else, then set RPLAY_HOST to the remote hostname or ip address.
DEVRPLAY_SOUND: Sounds can be named under rplayd, the default name used by rplaydsp is 'devrplay'. Use this variable to control the name of the sound.
DEVRPLAY_INFO: If your sound isn't the "standard" wav format and speed, you can set this variable so that rplayd grok the sound. An example value for a .au file is:
input-info=ulinear8,8000,1,1,little-endian
DEVRPLAY_OPTS: Set this variable to pass a generic set of RPTP options to rplayd.
rplaydsp realplayer http://www.example.com/foo.ram