Debian patch: 209_alsa_priority.diff SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 10 Oct 2009 09:07:51 +0000
branchSDL-1.2
changeset 4301 5007e6a66814
parent 4300 602642738b83
child 4302 9c47984430f0
Debian patch: 209_alsa_priority.diff
src/audio/SDL_audio.c
src/audio/SDL_sysaudio.h
--- a/src/audio/SDL_audio.c	Sat Oct 10 09:03:08 2009 +0000
+++ b/src/audio/SDL_audio.c	Sat Oct 10 09:07:51 2009 +0000
@@ -39,13 +39,13 @@
 #if SDL_AUDIO_DRIVER_BSD
 	&BSD_AUDIO_bootstrap,
 #endif
+#if SDL_AUDIO_DRIVER_ALSA
+	&ALSA_bootstrap,
+#endif
 #if SDL_AUDIO_DRIVER_OSS
 	&DSP_bootstrap,
 	&DMA_bootstrap,
 #endif
-#if SDL_AUDIO_DRIVER_ALSA
-	&ALSA_bootstrap,
-#endif
 #if SDL_AUDIO_DRIVER_PULSE
 	&PULSE_bootstrap,
 #endif
--- a/src/audio/SDL_sysaudio.h	Sat Oct 10 09:03:08 2009 +0000
+++ b/src/audio/SDL_sysaudio.h	Sat Oct 10 09:07:51 2009 +0000
@@ -106,13 +106,13 @@
 #if SDL_AUDIO_DRIVER_PULSE
 extern AudioBootStrap PULSE_bootstrap;
 #endif
+#if SDL_AUDIO_DRIVER_ALSA
+extern AudioBootStrap ALSA_bootstrap;
+#endif
 #if SDL_AUDIO_DRIVER_OSS
 extern AudioBootStrap DSP_bootstrap;
 extern AudioBootStrap DMA_bootstrap;
 #endif
-#if SDL_AUDIO_DRIVER_ALSA
-extern AudioBootStrap ALSA_bootstrap;
-#endif
 #if SDL_AUDIO_DRIVER_QNXNTO
 extern AudioBootStrap QNXNTOAUDIO_bootstrap;
 #endif