Debian patch: 209_alsa_priority.diff SDL-1.2
authorSam Lantinga
Sat, 10 Oct 2009 09:07:51 +0000
branchSDL-1.2
changeset 43015007e6a66814
parent 4300 602642738b83
child 4302 9c47984430f0
Debian patch: 209_alsa_priority.diff
src/audio/SDL_audio.c
src/audio/SDL_sysaudio.h
     1.1 --- a/src/audio/SDL_audio.c	Sat Oct 10 09:03:08 2009 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Sat Oct 10 09:07:51 2009 +0000
     1.3 @@ -39,13 +39,13 @@
     1.4  #if SDL_AUDIO_DRIVER_BSD
     1.5  	&BSD_AUDIO_bootstrap,
     1.6  #endif
     1.7 +#if SDL_AUDIO_DRIVER_ALSA
     1.8 +	&ALSA_bootstrap,
     1.9 +#endif
    1.10  #if SDL_AUDIO_DRIVER_OSS
    1.11  	&DSP_bootstrap,
    1.12  	&DMA_bootstrap,
    1.13  #endif
    1.14 -#if SDL_AUDIO_DRIVER_ALSA
    1.15 -	&ALSA_bootstrap,
    1.16 -#endif
    1.17  #if SDL_AUDIO_DRIVER_PULSE
    1.18  	&PULSE_bootstrap,
    1.19  #endif
     2.1 --- a/src/audio/SDL_sysaudio.h	Sat Oct 10 09:03:08 2009 +0000
     2.2 +++ b/src/audio/SDL_sysaudio.h	Sat Oct 10 09:07:51 2009 +0000
     2.3 @@ -106,13 +106,13 @@
     2.4  #if SDL_AUDIO_DRIVER_PULSE
     2.5  extern AudioBootStrap PULSE_bootstrap;
     2.6  #endif
     2.7 +#if SDL_AUDIO_DRIVER_ALSA
     2.8 +extern AudioBootStrap ALSA_bootstrap;
     2.9 +#endif
    2.10  #if SDL_AUDIO_DRIVER_OSS
    2.11  extern AudioBootStrap DSP_bootstrap;
    2.12  extern AudioBootStrap DMA_bootstrap;
    2.13  #endif
    2.14 -#if SDL_AUDIO_DRIVER_ALSA
    2.15 -extern AudioBootStrap ALSA_bootstrap;
    2.16 -#endif
    2.17  #if SDL_AUDIO_DRIVER_QNXNTO
    2.18  extern AudioBootStrap QNXNTOAUDIO_bootstrap;
    2.19  #endif