[SDL] Real-time audio generation
W.Boeke
w.boeke at chello.nl
Fri Sep 19 07:11:17 PDT 2008
Hi,
I am looking for a working example of an SDL audio application, where
you don't read the data from a wave file, but generate it real-time.
So e.g. you press a button, and hear a sinus tone. I know how to do it
with ALSA and with JACK, however when using SDL_OpenAudio() etc. the
only result was distorted noise.
It would be convenient if the audio would run in it's own thread,
because in a real application this always would be the case.
I searched the whole internet (with Google Code Search), but a simple
example I could not find.
W.Boeke
More information about the SDL
mailing list