| 1 |
rplay README.linux - notes for Linux users. |
| 2 |
|
| 3 |
Linux support is based on the Open Sound System driver included with |
| 4 |
most Linux kernels. |
| 5 |
|
| 6 |
/dev/dsp is used by default with CD quality output -- 44100 Hz, |
| 7 |
16-bit, 2 channels. These parameters can be changed using the |
| 8 |
--audio-* command line options and/or ~/.rplaydrc. |
| 9 |
|
| 10 |
When /dev/audio is used, rplayd uses 8000 Hz, 8-bit, 1 channel, and |
| 11 |
ulaw output. |
| 12 |
|
| 13 |
/dev/mixer is used to control the volume and configure output ports. |
| 14 |
rplay supports headphone, lineout, and speaker. Ports that aren't |
| 15 |
enabled have their volume set to zero. |
| 16 |
|
| 17 |
The --audio-fragsize rplayd option can be used to control audio device |
| 18 |
buffering. Fragment sizes must be a power of 2 greater than 16. By |
| 19 |
default, rplayd lets the audio driver pick an appropriate fragment size |
| 20 |
which has about a 0.5 second delay. Example sizes: |
| 21 |
|
| 22 |
256, 512, 1024, 2048, 4096, 8192 |
| 23 |
|
| 24 |
DSP_BUFFSIZE in the kernel sound driver may need to setup with |
| 25 |
a different value to improve audio performance. 65536 is known |
| 26 |
to work well with rplay. If you hear gaps, clicks, pops, etc., try |
| 27 |
increasing this value. |
| 28 |
|
| 29 |
Reading audio from CDROM uses /dev/cdrom by default. Make this a |
| 30 |
symbolic link to your real CDROM device. For example: |
| 31 |
|
| 32 |
lrwxrwxrwx 1 root root 8 Oct 1 12:46 /dev/cdrom -> /dev/hdc |
| 33 |
|
| 34 |
/dev/cdrom1, /dev/cdrom2, and /dev/cdrom3 can also be created if |
| 35 |
available. Tracks can be played using: |
| 36 |
|
| 37 |
$ rplay cdrom: # play entire CD |
| 38 |
$ rplay cdrom:5 # play track 5 |
| 39 |
$ rplay cdrom:1-3 # play tracks 1, 2, 3 |
| 40 |
|
| 41 |
CDROM support only works on ATAPI CDROM devices, I think. |
| 42 |
|
| 43 |
$Id: README.linux,v 1.2 1998/08/13 06:13:03 boyns Exp $ |