Format /dev/dsp expects?

Michael Schwendt mschwendt at gmail.com
Mon Aug 25 19:57:36 UTC 2008


On Mon, 25 Aug 2008 14:26:25 -0500, Mike McCarty wrote:

> Can anyone tell me what formats /dev/dsp, /dev/dsp56k,
> /dev/audio, etc. expect? It seems that I can copy
> a WAV format file directly to /dev/dsp and get recognizable
> sound. I wonder just what format they actually expect.

/dev/audio used to accept µ-law encoding, /dev/dsp accepts raw pcm as
configured via ioctl. The device doesn't evaluate any WAV header.




More information about the users mailing list