aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-01-08 01:08:27 -0800
committerChris Robinson <[email protected]>2010-01-08 01:08:27 -0800
commit91f28fa87c476f2415dd3d8ab4b70f789a07ec9f (patch)
tree6663c1f3a6b0cd56cbc47fc48659cd5c37cb9850
parent82547db2db6276e2ce22eef4ce470b08a9714e16 (diff)
Try the PulseAudio backend first
-rw-r--r--Alc/ALc.c6
-rw-r--r--alsoftrc.sample2
2 files changed, 4 insertions, 4 deletions
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 },
diff --git a/alsoftrc.sample b/alsoftrc.sample
index ed20c751..22c60a3c 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -100,7 +100,7 @@
# unless the list is ended with a comma (eg. 'oss,' will list OSS first
# followed by all other available backends, while 'oss' will list OSS only).
# An empty list means the default.
-#drivers = alsa,oss,solaris,dsound,winmm,port,pulse,wave
+#drivers = pulse,alsa,oss,solaris,dsound,winmm,port,wave
## excludefx:
# Sets which effects to exclude, preventing apps from using them. This can