comparison 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
comparison
equal deleted inserted replaced
4329:9716da353104 4330:33570eec2d4f
37 /* Available audio drivers */ 37 /* Available audio drivers */
38 static AudioBootStrap *bootstrap[] = { 38 static AudioBootStrap *bootstrap[] = {
39 #if SDL_AUDIO_DRIVER_BSD 39 #if SDL_AUDIO_DRIVER_BSD
40 &BSD_AUDIO_bootstrap, 40 &BSD_AUDIO_bootstrap,
41 #endif 41 #endif
42 #if SDL_AUDIO_DRIVER_PULSE
43 &PULSE_bootstrap,
44 #endif
42 #if SDL_AUDIO_DRIVER_ALSA 45 #if SDL_AUDIO_DRIVER_ALSA
43 &ALSA_bootstrap, 46 &ALSA_bootstrap,
44 #endif 47 #endif
45 #if SDL_AUDIO_DRIVER_OSS 48 #if SDL_AUDIO_DRIVER_OSS
46 &DSP_bootstrap, 49 &DSP_bootstrap,
47 &DMA_bootstrap, 50 &DMA_bootstrap,
48 #endif
49 #if SDL_AUDIO_DRIVER_PULSE
50 &PULSE_bootstrap,
51 #endif 51 #endif
52 #if SDL_AUDIO_DRIVER_QNXNTO 52 #if SDL_AUDIO_DRIVER_QNXNTO
53 &QNXNTOAUDIO_bootstrap, 53 &QNXNTOAUDIO_bootstrap,
54 #endif 54 #endif
55 #if SDL_AUDIO_DRIVER_SUNAUDIO 55 #if SDL_AUDIO_DRIVER_SUNAUDIO