comparison src/audio/windx5/SDL_dx5audio.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 4ad1e863d100
children 6b04ca2f1016
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
178 return this; 178 return this;
179 } 179 }
180 180
181 AudioBootStrap DSOUND_bootstrap = { 181 AudioBootStrap DSOUND_bootstrap = {
182 "dsound", "Win95/98/2000 DirectSound", 182 "dsound", "Win95/98/2000 DirectSound",
183 Audio_Available, Audio_CreateDevice 183 Audio_Available, Audio_CreateDevice, 0
184 }; 184 };
185 185
186 static void 186 static void
187 SetDSerror(const char *function, int code) 187 SetDSerror(const char *function, int code)
188 { 188 {