comparison src/audio/mint/SDL_mintaudio_dma8.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
158 return this; 158 return this;
159 } 159 }
160 160
161 AudioBootStrap MINTAUDIO_DMA8_bootstrap = { 161 AudioBootStrap MINTAUDIO_DMA8_bootstrap = {
162 MINT_AUDIO_DRIVER_NAME, "MiNT DMA 8 bits audio driver", 162 MINT_AUDIO_DRIVER_NAME, "MiNT DMA 8 bits audio driver",
163 Audio_Available, Audio_CreateDevice 163 Audio_Available, Audio_CreateDevice, 0
164 }; 164 };
165 165
166 static void 166 static void
167 Mint_LockAudio(_THIS) 167 Mint_LockAudio(_THIS)
168 { 168 {