Mike Davis wrote:
> I can hear proper sound with "aplay  /usr/share/sounds/KDE_Startup.wav"
>
> When I try "cat /usr/share/sounds/KDE_Startup.wav > /dev/dsp I hear 'tinny'
> metallic sounds.

The OSS emulation device files don't support .wav files. Try .au files
instead, or use some playing tool.

> When I try "aplay /dev/dspX" I get the same thing or nothing.
>
> How do I tell which /dev/dsp? device the output sound should be sent to?

/dev/dspX is the OSS emulation for device 0 on card X.
/dev/adspX is the OSS emulation for device 1 on card X.

See "aplay -l" for a list of cards, devices, and subdevices.

You can specify the device name (not a file name) with the -D
parameter, e.g. use "aplay -Dhw:0,1 something.wav" to play on card 0,
device 1.


HTH
Clemens




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to