# HG changeset patch # User Sam Lantinga # Date 1255423360 0 # Node ID 33570eec2d4f2b861d9274e8ffae96cbd93c513f # Parent 9716da3531041447d8905572e181ea84853c9178 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. diff -r 9716da353104 -r 33570eec2d4f src/audio/SDL_audio.c --- 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