Mercurial > sdl-ios-xcode
comparison src/audio/mint/SDL_mintaudio_gsxb.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 |
---|---|
164 return this; | 164 return this; |
165 } | 165 } |
166 | 166 |
167 AudioBootStrap MINTAUDIO_GSXB_bootstrap = { | 167 AudioBootStrap MINTAUDIO_GSXB_bootstrap = { |
168 MINT_AUDIO_DRIVER_NAME, "MiNT GSXB audio driver", | 168 MINT_AUDIO_DRIVER_NAME, "MiNT GSXB audio driver", |
169 Audio_Available, Audio_CreateDevice | 169 Audio_Available, Audio_CreateDevice, 0 |
170 }; | 170 }; |
171 | 171 |
172 static void | 172 static void |
173 Mint_LockAudio(_THIS) | 173 Mint_LockAudio(_THIS) |
174 { | 174 { |