# HG changeset patch # User Sam Lantinga # Date 1255165671 0 # Node ID 5007e6a66814ded02b31ac063e456494216b1135 # Parent 602642738b83ee0e5050c6c9f03ca73b05266116 Debian patch: 209_alsa_priority.diff diff -r 602642738b83 -r 5007e6a66814 src/audio/SDL_audio.c --- 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 diff -r 602642738b83 -r 5007e6a66814 src/audio/SDL_sysaudio.h --- 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