diff options
author | Chris Robinson <[email protected]> | 2015-02-03 05:11:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-02-03 05:11:46 -0800 |
commit | 33ced1a7c202879f60ea16c274c1c2cbbfe558f4 (patch) | |
tree | a28de56431495c39b408304d72f36c7f43799d47 /Alc/ALc.c | |
parent | e6f464892413b3da0df664106b6897f47336b17d (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |