changeset 4330:33570eec2d4f SDL-1.2

On recent distributions ALSA pipes streams through PulseAudio anyway, so using PulseAudio first when it's available will improve latency and reduce ALSA configuration quirks.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 13 Oct 2009 08:42:40 +0000
parents 9716da353104
children a24454ed4ac4
files src/audio/SDL_audio.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/audio/SDL_audio.c	Tue Oct 13 08:27:28 2009 +0000
+++ b/src/audio/SDL_audio.c	Tue Oct 13 08:42:40 2009 +0000
@@ -39,6 +39,9 @@
 #if SDL_AUDIO_DRIVER_BSD
 	&BSD_AUDIO_bootstrap,
 #endif
+#if SDL_AUDIO_DRIVER_PULSE
+	&PULSE_bootstrap,
+#endif
 #if SDL_AUDIO_DRIVER_ALSA
 	&ALSA_bootstrap,
 #endif
@@ -46,9 +49,6 @@
 	&DSP_bootstrap,
 	&DMA_bootstrap,
 #endif
-#if SDL_AUDIO_DRIVER_PULSE
-	&PULSE_bootstrap,
-#endif
 #if SDL_AUDIO_DRIVER_QNXNTO
 	&QNXNTOAUDIO_bootstrap,
 #endif