Today Survivant wrote:

>I'm trying to configure /dev/dsp to play PCM at 44100 16 bits, but i'm stuck with 
>8000 8bits. 
>
>How i can change that to be 44100 16bits defaults values ?
>
>ex:
>
>cat song.PCM > /dev/dsp    (pcm containt pcm data...)

not that i can say that i know the answer but i jump in while everyone
else is quiet.

afaik /dev/dsp resets to some default format every time you open it. 
then you have to do some OSS ioctl(2) call/s to set the formats. iirc 
this default usually is 8 bit 22.05 kHz.

i suggest you use aplay instead.

tim


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to