Mercurial > sdl-ios-xcode
comparison src/audio/ums/SDL_umsaudio.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 | 4a32d186f35b |
children | 7852b5b78af5 |
comparison
equal
deleted
inserted
replaced
3797:9dc81c6acaf5 | 3798:c8b3d3d13ed1 |
---|---|
150 return this; | 150 return this; |
151 } | 151 } |
152 | 152 |
153 AudioBootStrap UMS_bootstrap = { | 153 AudioBootStrap UMS_bootstrap = { |
154 UMS_DRIVER_NAME, "AIX UMS audio", | 154 UMS_DRIVER_NAME, "AIX UMS audio", |
155 Audio_Available, Audio_CreateDevice | 155 Audio_Available, Audio_CreateDevice, 0 |
156 }; | 156 }; |
157 | 157 |
158 static Uint8 * | 158 static Uint8 * |
159 UMS_GetAudioBuf(_THIS) | 159 UMS_GetAudioBuf(_THIS) |
160 { | 160 { |