On 1/27/07, andrew clarke <[EMAIL PROTECTED]> wrote:
> > Does anyone know how one can play WAV files using C/C++ in linux?. Are
> > there any libraries available? Any sample code out there?
>
> Some 10 years ago now I remember my surprise when I saw a friend of mine
> playing wav files under Linux using
>
> cat filename.wav > /dev/dspout
>
> (or similar).
>
> I don't know whether you can still do this, or whether it was just an odd
> feature of the sound card kernel driver he was using, and it's definitely
> crude, but there you go.
You could that with the OSS sound drivers, but you can't with the
newer (and ultimately superior) ALSA drivers.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi