Audio input

Just wondering if SDL will ever support audio input, any comment on this?

There is a quite standard way to do it in unix and in windows through
directx and I think it can be a very useful feature.

Any plan for SDL 1.3?

The main problem I see it’s the philosophy that SDL uses for the audio
playing at the moment that it’s not that suitable for an audio recording
process.

Bye,
Gabry (gabrielegreco at tin.it)

Just wondering if SDL will ever support audio input, any comment on
this?

There is a quite standard way to do it in unix and in windows through
directx and I think it can be a very useful feature.

Any plan for SDL 1.3?

Not for me to decide, but I’d think so…

The main problem I see it’s the philosophy that SDL uses for the audio
playing at the moment that it’s not that suitable for an audio
recording process.

Why not? It’s basically the same way any serious real time audio
application does it, and it’s the same fundamental design as used by all
serious audio APIs. (ASIO, EASI, CoreAudio, …)

The read()/write() way of doing it is generally considered “obsolete”,
and is deprecated for technical reasons. I would not recommend using it
in any other way than to emulate the fixed buffer size/callback model by
blocking at fragment (IRQ) boundaries.

For pure recording (no real time monitoring or processing) you’d want to
set the input buffer size rather large on most operating systems, but
it’s still the same model in work.

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |-------------------------------------> http://olofson.net -'On Friday 05 April 2002 14:41, Gabriele Greco wrote: