How to use a mic in SDL?

Hello, I am only beginer in programming in SDL. I’d like to record my voice
and delay it, but I couldn’t find nowhere how to control my sound card,
especcially microphone. Recently I found a library called “portaudio” or
something like that, but I can’t link it to my programme. I would be very
greatful if someonoe could tell me how to implement using mic in C++.
thanks
Maciek

Maciej Szupien’ko wrote:

Hello, I am only beginer in programming in SDL. I’d like to record my voice
and delay it, but I couldn’t find nowhere how to control my sound card,
especcially microphone. Recently I found a library called “portaudio” or
something like that, but I can’t link it to my programme. I would be very
greatful if someonoe could tell me how to implement using mic in C++.

There’s currently no audio input API in SDL, although it’s on the
wishlist for 2.0, so you’ll have to do it using another library or yourself.

Stephane

Someone from Jim Henson workshop had implemented something a while back.
He’s no longer with the company, though. :^( I can try and dig up info,
but it’s probably here on the mailing list archives. :^)

-bill!On Fri, May 21, 2004 at 12:27:00AM +0200, Stephane Marchesin wrote:

There’s currently no audio input API in SDL, although it’s on the
wishlist for 2.0, so you’ll have to do it using another library or yourself.

Hello, I am only beginer in programming in SDL. I’d like to record my voice
and delay it, but I couldn’t find nowhere how to control my sound card,
especcially microphone. Recently I found a library called “portaudio” or
something like that, but I can’t link it to my programme. I would be very
greatful if someonoe could tell me how to implement using mic in C++.

thanks

Maciek