aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-02-03 05:11:46 -0800
committerChris Robinson <[email protected]>2015-02-03 05:11:46 -0800
commit33ced1a7c202879f60ea16c274c1c2cbbfe558f4 (patch)
treea28de56431495c39b408304d72f36c7f43799d47 /Alc/ALc.c
parente6f464892413b3da0df664106b6897f47336b17d (diff)
Try the JACK backend before PulseAudio
The backend will not spawn a server by default, so PulseAudio will still be preferred as long as a JACK server isn't already running.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index a680390f..bb865542 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -61,6 +61,9 @@ struct BackendInfo {
#define EmptyFuncs { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
static struct BackendInfo BackendList[] = {
+#ifdef HAVE_JACK
+ { "jack", ALCjackBackendFactory_getFactory, NULL, NULL, NULL, EmptyFuncs },
+#endif
#ifdef HAVE_PULSEAUDIO
{ "pulse", ALCpulseBackendFactory_getFactory, NULL, NULL, NULL, EmptyFuncs },
#endif
@@ -82,9 +85,6 @@ static struct BackendInfo BackendList[] = {
#ifdef HAVE_QSA
{ "qsa", NULL, alc_qsa_init, alc_qsa_deinit, alc_qsa_probe, EmptyFuncs },
#endif
-#ifdef HAVE_JACK
- { "jack", ALCjackBackendFactory_getFactory, NULL, NULL, NULL, EmptyFuncs },
-#endif
#ifdef HAVE_MMDEVAPI
{ "mmdevapi", ALCmmdevBackendFactory_getFactory, NULL, NULL, NULL, EmptyFuncs },
#endif