Mercurial > sdl-ios-xcode
diff src/audio/SDL_audio.c @ 4330:33570eec2d4f SDL-1.2
On recent distributions ALSA pipes streams through PulseAudio anyway, so using PulseAudio first when it's available will improve latency and reduce ALSA configuration quirks.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 13 Oct 2009 08:42:40 +0000 |
parents | 5007e6a66814 |
children | fe15c4e8efe6 |
line wrap: on
line diff
--- a/src/audio/SDL_audio.c Tue Oct 13 08:27:28 2009 +0000 +++ b/src/audio/SDL_audio.c Tue Oct 13 08:42:40 2009 +0000 @@ -39,6 +39,9 @@ #if SDL_AUDIO_DRIVER_BSD &BSD_AUDIO_bootstrap, #endif +#if SDL_AUDIO_DRIVER_PULSE + &PULSE_bootstrap, +#endif #if SDL_AUDIO_DRIVER_ALSA &ALSA_bootstrap, #endif @@ -46,9 +49,6 @@ &DSP_bootstrap, &DMA_bootstrap, #endif -#if SDL_AUDIO_DRIVER_PULSE - &PULSE_bootstrap, -#endif #if SDL_AUDIO_DRIVER_QNXNTO &QNXNTOAUDIO_bootstrap, #endif