[SDL] Patch: SDL_audio.c

andreas anpa502 at telia.com
Fri Nov 10 17:43:27 PST 2006


Hello.
Trying to fix some of the build issues on Win32 with MSVC.
First one is "SDL_audio.c" referring to the wrong variable in 
"SDL_dibaudio.c"


Index: SDL_audio.c
===================================================================
--- SDL_audio.c	(revision 2905)
+++ SDL_audio.c	(working copy)
@@ -54,7 +54,7 @@
  extern AudioBootStrap ESD_bootstrap;
  extern AudioBootStrap NAS_bootstrap;
  extern AudioBootStrap DSOUND_bootstrap;
-extern AudioBootStrap WAVEOUT_bootstrap;
+extern AudioBootStrap WINWAVEOUT_bootstrap;
  extern AudioBootStrap PAUDIO_bootstrap;
  extern AudioBootStrap BEOSAUDIO_bootstrap;
  extern AudioBootStrap COREAUDIO_bootstrap;
@@ -105,7 +105,7 @@
      &DSOUND_bootstrap,
  #endif
  #if SDL_AUDIO_DRIVER_WAVEOUT
-    &WAVEOUT_bootstrap,
+    &WINWAVEOUT_bootstrap,
  #endif
  #if SDL_AUDIO_DRIVER_PAUDIO
      &PAUDIO_bootstrap,









More information about the SDL mailing list