comparison src/audio/arts/SDL_artsaudio.c @ 3798:c8b3d3d13ed1 SDL-ryan-multiple-audio-device

Audio bootstraps can now specify that a driver is only to be used if explicitly requested (for things like the "disk" driver that is always available but you would never want to default to using). Trimmed out code that can be handled by stubs in the core. The "dummy" driver is pretty damned small now. :)
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 04 Oct 2006 21:27:53 +0000
parents 3b4ce57c6215
children 7852b5b78af5
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
197 return this; 197 return this;
198 } 198 }
199 199
200 AudioBootStrap ARTS_bootstrap = { 200 AudioBootStrap ARTS_bootstrap = {
201 ARTS_DRIVER_NAME, "Analog Realtime Synthesizer", 201 ARTS_DRIVER_NAME, "Analog Realtime Synthesizer",
202 Audio_Available, Audio_CreateDevice 202 Audio_Available, Audio_CreateDevice, 0
203 }; 203 };
204 204
205 /* This function waits until it is possible to write a full sound buffer */ 205 /* This function waits until it is possible to write a full sound buffer */
206 static void 206 static void
207 ARTS_WaitAudio(_THIS) 207 ARTS_WaitAudio(_THIS)