Mercurial > sdl-ios-xcode
comparison src/audio/esd/SDL_esdaudio.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 | c121d94672cb |
children | 3decf9cdeb63 |
comparison
equal
deleted
inserted
replaced
3797:9dc81c6acaf5 | 3798:c8b3d3d13ed1 |
---|---|
185 return this; | 185 return this; |
186 } | 186 } |
187 | 187 |
188 AudioBootStrap ESD_bootstrap = { | 188 AudioBootStrap ESD_bootstrap = { |
189 ESD_DRIVER_NAME, "Enlightened Sound Daemon", | 189 ESD_DRIVER_NAME, "Enlightened Sound Daemon", |
190 Audio_Available, Audio_CreateDevice | 190 Audio_Available, Audio_CreateDevice, 0 |
191 }; | 191 }; |
192 | 192 |
193 /* This function waits until it is possible to write a full sound buffer */ | 193 /* This function waits until it is possible to write a full sound buffer */ |
194 static void | 194 static void |
195 ESD_WaitAudio(_THIS) | 195 ESD_WaitAudio(_THIS) |