comparison src/audio/windib/SDL_dibaudio.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 a5d0758f88d8
children 3479f939987c
comparison
equal deleted inserted replaced
3797:9dc81c6acaf5 3798:c8b3d3d13ed1
95 return this; 95 return this;
96 } 96 }
97 97
98 AudioBootStrap WAVEOUT_bootstrap = { 98 AudioBootStrap WAVEOUT_bootstrap = {
99 "waveout", "Win95/98/NT/2000 WaveOut", 99 "waveout", "Win95/98/NT/2000 WaveOut",
100 Audio_Available, Audio_CreateDevice 100 Audio_Available, Audio_CreateDevice, 0
101 }; 101 };
102 102
103 103
104 /* The Win32 callback for filling the WAVE device */ 104 /* The Win32 callback for filling the WAVE device */
105 static void CALLBACK 105 static void CALLBACK