comparison src/audio/mint/SDL_mintaudio_mcsn.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
179 return this; 179 return this;
180 } 180 }
181 181
182 AudioBootStrap MINTAUDIO_MCSN_bootstrap = { 182 AudioBootStrap MINTAUDIO_MCSN_bootstrap = {
183 MINT_AUDIO_DRIVER_NAME, "MiNT MCSN audio driver", 183 MINT_AUDIO_DRIVER_NAME, "MiNT MCSN audio driver",
184 Audio_Available, Audio_CreateDevice 184 Audio_Available, Audio_CreateDevice, 0
185 }; 185 };
186 186
187 static void 187 static void
188 Mint_LockAudio(_THIS) 188 Mint_LockAudio(_THIS)
189 { 189 {