comparison src/audio/sun/SDL_sunaudio.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 152dcc2f089f
children 332a59e39ce1
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
114 return this; 114 return this;
115 } 115 }
116 116
117 AudioBootStrap SUNAUDIO_bootstrap = { 117 AudioBootStrap SUNAUDIO_bootstrap = {
118 "audio", "UNIX /dev/audio interface", 118 "audio", "UNIX /dev/audio interface",
119 Audio_Available, Audio_CreateDevice 119 Audio_Available, Audio_CreateDevice, 0
120 }; 120 };
121 121
122 #ifdef DEBUG_AUDIO 122 #ifdef DEBUG_AUDIO
123 void 123 void
124 CheckUnderflow(_THIS) 124 CheckUnderflow(_THIS)