How to read Audio data from audio device?

Hi.
I 'm developing small game and part of
its interface is a sound recognition.
I don’t have any experiance with sound
using SDL so I have got question:
How to read audio data from eg. microphone using SDL ?
Are there any examples available?

Jacek Czaja

*r-e-k-l-a-m-a

Masz dosc placenia prowizji bankowi ?
mBank - zaloz konto
http://epieniadze.onet.pl/mbank

I 'm developing small game and part of
its interface is a sound recognition.
I don’t have any experiance with sound
using SDL so I have got question:
How to read audio data from eg. microphone using SDL ?
Are there any examples available?

SDL doesn’t have any facilities to read from an audio device, officially.
There was a patch on the mailing list last year or so that added this
functionality (perhaps only under Linux).

–ryan.