AW: [SDL] Re: Audio Input: Needed? Wanted? Implementation pla nned?

David Olofson david.olofson at reologica.se
Tue Mar 27 07:34:30 PST 2001


On Tuesday 27 March 2001 11:52, Sascha Günther wrote:
> As I said before, I do not think that SDL should handle that. Maybe there
> could be an event like SDL_EVENT_MICON, where SDL checks for a sound in
> between a minimum and a maximum frequency with a minimum volume to come in
> and pushs this event to the queue, but voice commands... ohhh, I guess this
> should be handeled above SDL, while this seems to be not a general input
> source. (Maybe one wants to handle Audio-Input for other reasons, such as
> simple recording the input for a later output or stuff..)
>
> I think, Audio-input should be as "simple" as possible, or better lets say,
> as basic as possible...

Right; just pure audio I/O. As long as the hardware/driver interface is 
there, the rest can be handled by external libs. It's the "external libs 
trying to fight SDL for control of the hardware" scenario that I don't want 
to see. (And that's what you get if you don't do audio output AND input in 
one place - which must be in SDL, as some silly platforms want to bind audio 
to video...)


//David

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david at linuxdj.com -'



More information about the SDL mailing list