Audio driver priority: favor PulseAudio and ALSA over OSS.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 01 Jan 2009 07:58:20 +0000
changeset 2939 084e5b4fc5be
parent 2938 2929ed239d2a
child 2940 b93965a16fe0
Audio driver priority: favor PulseAudio and ALSA over OSS.
src/audio/SDL_audio.c
--- a/src/audio/SDL_audio.c	Thu Jan 01 07:54:58 2009 +0000
+++ b/src/audio/SDL_audio.c	Thu Jan 01 07:58:20 2009 +0000
@@ -79,15 +79,15 @@
 #if SDL_AUDIO_DRIVER_BSD
     &BSD_AUDIO_bootstrap,
 #endif
-#if SDL_AUDIO_DRIVER_OSS
-    &DSP_bootstrap,
-    &DMA_bootstrap,
+#if SDL_AUDIO_DRIVER_PULSEAUDIO
+    &PULSEAUDIO_bootstrap,
 #endif
 #if SDL_AUDIO_DRIVER_ALSA
     &ALSA_bootstrap,
 #endif
-#if SDL_AUDIO_DRIVER_PULSEAUDIO
-    &PULSEAUDIO_bootstrap,
+#if SDL_AUDIO_DRIVER_OSS
+    &DSP_bootstrap,
+    &DMA_bootstrap,
 #endif
 #if SDL_AUDIO_DRIVER_QNXNTO
     &QNXNTOAUDIO_bootstrap,