comparison src/audio/mint/SDL_mintaudio_xbios.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 b19680c84cdf
children 1f156fd874fa
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
163 return this; 163 return this;
164 } 164 }
165 165
166 AudioBootStrap MINTAUDIO_XBIOS_bootstrap = { 166 AudioBootStrap MINTAUDIO_XBIOS_bootstrap = {
167 MINT_AUDIO_DRIVER_NAME, "MiNT XBIOS audio driver", 167 MINT_AUDIO_DRIVER_NAME, "MiNT XBIOS audio driver",
168 Audio_Available, Audio_CreateDevice 168 Audio_Available, Audio_CreateDevice, 0
169 }; 169 };
170 170
171 static void 171 static void
172 Mint_LockAudio(_THIS) 172 Mint_LockAudio(_THIS)
173 { 173 {