Mercurial > sdl-ios-xcode
diff src/audio/SDL_audio.c @ 2939:084e5b4fc5be
Audio driver priority: favor PulseAudio and ALSA over OSS.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 01 Jan 2009 07:58:20 +0000 |
parents | 2929ed239d2a |
children | 1e431c2631ee |
line wrap: on
line diff
--- 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,