Audio driver priority: favor PulseAudio and ALSA over OSS.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 01 Jan 2009 07:58:20 +0000
changeset 2939084e5b4fc5be
parent 2938 2929ed239d2a
child 2940 b93965a16fe0
Audio driver priority: favor PulseAudio and ALSA over OSS.
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Thu Jan 01 07:54:58 2009 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Thu Jan 01 07:58:20 2009 +0000
     1.3 @@ -79,15 +79,15 @@
     1.4  #if SDL_AUDIO_DRIVER_BSD
     1.5      &BSD_AUDIO_bootstrap,
     1.6  #endif
     1.7 -#if SDL_AUDIO_DRIVER_OSS
     1.8 -    &DSP_bootstrap,
     1.9 -    &DMA_bootstrap,
    1.10 +#if SDL_AUDIO_DRIVER_PULSEAUDIO
    1.11 +    &PULSEAUDIO_bootstrap,
    1.12  #endif
    1.13  #if SDL_AUDIO_DRIVER_ALSA
    1.14      &ALSA_bootstrap,
    1.15  #endif
    1.16 -#if SDL_AUDIO_DRIVER_PULSEAUDIO
    1.17 -    &PULSEAUDIO_bootstrap,
    1.18 +#if SDL_AUDIO_DRIVER_OSS
    1.19 +    &DSP_bootstrap,
    1.20 +    &DMA_bootstrap,
    1.21  #endif
    1.22  #if SDL_AUDIO_DRIVER_QNXNTO
    1.23      &QNXNTOAUDIO_bootstrap,