diff -up SDL-1.2.12/src/audio/SDL_audio.c.preferalsa SDL-1.2.12/src/audio/SDL_audio.c
--- SDL-1.2.12/src/audio/SDL_audio.c.preferalsa 2007-08-27 18:15:34.000000000 +0200
+++ SDL-1.2.12/src/audio/SDL_audio.c 2007-08-27 18:16:23.000000000 +0200
@@ -36,6 +36,15 @@
/* Available audio drivers */
static AudioBootStrap *bootstrap[] = {
+#if SDL_AUDIO_DRIVER_ALSA
+ &ALSA_bootstrap,
+#endif
+#if SDL_AUDIO_DRIVER_ARTS
+ &ARTS_bootstrap,
+#endif
+#if SDL_AUDIO_DRIVER_ESD
+ &ESD_bootstrap,
+#endif
#if SDL_AUDIO_DRIVER_BSD
&BSD_AUDIO_bootstrap,
#endif
@@ -43,9 +52,6 @@ static AudioBootStrap *bootstrap[] = {
&DSP_bootstrap,
&DMA_bootstrap,
#endif
-#if SDL_AUDIO_DRIVER_ALSA
- &ALSA_bootstrap,
-#endif
#if SDL_AUDIO_DRIVER_PULSE
&PULSE_bootstrap,
#endif
@@ -58,12 +64,6 @@ static AudioBootStrap *bootstrap[] = {
#if SDL_AUDIO_DRIVER_DMEDIA
&DMEDIA_bootstrap,
#endif
-#if SDL_AUDIO_DRIVER_ARTS
- &ARTS_bootstrap,
-#endif
-#if SDL_AUDIO_DRIVER_ESD
- &ESD_bootstrap,
-#endif
#if SDL_AUDIO_DRIVER_NAS
&NAS_bootstrap,
#endif