mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
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.
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -39,6 +39,9 @@ static AudioBootStrap *bootstrap[] = {
|
||||
#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 @@ static AudioBootStrap *bootstrap[] = {
|
||||
&DSP_bootstrap,
|
||||
&DMA_bootstrap,
|
||||
#endif
|
||||
#if SDL_AUDIO_DRIVER_PULSE
|
||||
&PULSE_bootstrap,
|
||||
#endif
|
||||
#if SDL_AUDIO_DRIVER_QNXNTO
|
||||
&QNXNTOAUDIO_bootstrap,
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user