comparison src/audio/dc/SDL_dcaudio.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 9d070c1a45fa
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
90 return this; 90 return this;
91 } 91 }
92 92
93 AudioBootStrap DCAUD_bootstrap = { 93 AudioBootStrap DCAUD_bootstrap = {
94 "dcaudio", "Dreamcast AICA audio", 94 "dcaudio", "Dreamcast AICA audio",
95 DCAUD_Available, DCAUD_CreateDevice 95 DCAUD_Available, DCAUD_CreateDevice, 0
96 }; 96 };
97 97
98 /* This function waits until it is possible to write a full sound buffer */ 98 /* This function waits until it is possible to write a full sound buffer */
99 static void 99 static void
100 DCAUD_WaitAudio(_THIS) 100 DCAUD_WaitAudio(_THIS)