comparison src/audio/alsa/SDL_alsa_audio.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 adf732f1f016
children 49eadd6e8962
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
328 return this; 328 return this;
329 } 329 }
330 330
331 AudioBootStrap ALSA_bootstrap = { 331 AudioBootStrap ALSA_bootstrap = {
332 DRIVER_NAME, "ALSA 0.9 PCM audio", 332 DRIVER_NAME, "ALSA 0.9 PCM audio",
333 Audio_Available, Audio_CreateDevice 333 Audio_Available, Audio_CreateDevice, 0
334 }; 334 };
335 335
336 /* This function waits until it is possible to write a full sound buffer */ 336 /* This function waits until it is possible to write a full sound buffer */
337 static void 337 static void
338 ALSA_WaitAudio(_THIS) 338 ALSA_WaitAudio(_THIS)