Mercurial > sdl-ios-xcode
comparison src/audio/bsd/SDL_bsdaudio.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 | 3b4ce57c6215 |
children | 9d070c1a45fa |
comparison
equal
deleted
inserted
replaced
3797:9dc81c6acaf5 | 3798:c8b3d3d13ed1 |
---|---|
134 return this; | 134 return this; |
135 } | 135 } |
136 | 136 |
137 AudioBootStrap BSD_AUDIO_bootstrap = { | 137 AudioBootStrap BSD_AUDIO_bootstrap = { |
138 BSD_AUDIO_DRIVER_NAME, BSD_AUDIO_DRIVER_DESC, | 138 BSD_AUDIO_DRIVER_NAME, BSD_AUDIO_DRIVER_DESC, |
139 Audio_Available, Audio_CreateDevice | 139 Audio_Available, Audio_CreateDevice, 0 |
140 }; | 140 }; |
141 | 141 |
142 /* This function waits until it is possible to write a full sound buffer */ | 142 /* This function waits until it is possible to write a full sound buffer */ |
143 static void | 143 static void |
144 OBSD_WaitAudio(_THIS) | 144 OBSD_WaitAudio(_THIS) |