# HG changeset patch # User Ryan C. Gordon # Date 1230796700 0 # Node ID 084e5b4fc5be46f3c4b0394f458371eb2536eee3 # Parent 2929ed239d2afe375634abb0937ba7bf9854e43b Audio driver priority: favor PulseAudio and ALSA over OSS. diff -r 2929ed239d2a -r 084e5b4fc5be src/audio/SDL_audio.c --- a/src/audio/SDL_audio.c Thu Jan 01 07:54:58 2009 +0000 +++ b/src/audio/SDL_audio.c Thu Jan 01 07:58:20 2009 +0000 @@ -79,15 +79,15 @@ #if SDL_AUDIO_DRIVER_BSD &BSD_AUDIO_bootstrap, #endif -#if SDL_AUDIO_DRIVER_OSS - &DSP_bootstrap, - &DMA_bootstrap, +#if SDL_AUDIO_DRIVER_PULSEAUDIO + &PULSEAUDIO_bootstrap, #endif #if SDL_AUDIO_DRIVER_ALSA &ALSA_bootstrap, #endif -#if SDL_AUDIO_DRIVER_PULSEAUDIO - &PULSEAUDIO_bootstrap, +#if SDL_AUDIO_DRIVER_OSS + &DSP_bootstrap, + &DMA_bootstrap, #endif #if SDL_AUDIO_DRIVER_QNXNTO &QNXNTOAUDIO_bootstrap,