Mercurial > sdl-ios-xcode
comparison src/audio/nto/SDL_nto_audio.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 | cff63f857ff3 |
children | d3171647e661 |
comparison
equal
deleted
inserted
replaced
3797:9dc81c6acaf5 | 3798:c8b3d3d13ed1 |
---|---|
210 } | 210 } |
211 | 211 |
212 AudioBootStrap QNXNTOAUDIO_bootstrap = { | 212 AudioBootStrap QNXNTOAUDIO_bootstrap = { |
213 DRIVER_NAME, "QNX6 QSA-NTO Audio", | 213 DRIVER_NAME, "QNX6 QSA-NTO Audio", |
214 NTO_AudioAvailable, | 214 NTO_AudioAvailable, |
215 NTO_CreateAudioDevice | 215 NTO_CreateAudioDevice, |
216 0 | |
216 }; | 217 }; |
217 | 218 |
218 /* This function waits until it is possible to write a full sound buffer */ | 219 /* This function waits until it is possible to write a full sound buffer */ |
219 static void | 220 static void |
220 NTO_WaitAudio(_THIS) | 221 NTO_WaitAudio(_THIS) |