From 91f28fa87c476f2415dd3d8ab4b70f789a07ec9f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 8 Jan 2010 01:08:27 -0800 Subject: Try the PulseAudio backend first --- Alc/ALc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index b85c2d7e..6c97ad7a 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -48,6 +48,9 @@ typedef struct BackendInfo { BackendFuncs Funcs; } BackendInfo; static BackendInfo BackendList[] = { +#ifdef HAVE_PULSEAUDIO + { "pulse", alc_pulse_init, alc_pulse_deinit, alc_pulse_probe, EmptyFuncs }, +#endif #ifdef HAVE_ALSA { "alsa", alc_alsa_init, alc_alsa_deinit, alc_alsa_probe, EmptyFuncs }, #endif @@ -66,9 +69,6 @@ static BackendInfo BackendList[] = { #ifdef HAVE_PORTAUDIO { "port", alc_pa_init, alc_pa_deinit, alc_pa_probe, EmptyFuncs }, #endif -#ifdef HAVE_PULSEAUDIO - { "pulse", alc_pulse_init, alc_pulse_deinit, alc_pulse_probe, EmptyFuncs }, -#endif { "wave", alc_wave_init, alc_wave_deinit, alc_wave_probe, EmptyFuncs }, -- cgit v1.2.3