Skip to content

Commit

Permalink
Lower the priority of the JACK backend
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Nov 16, 2024
1 parent 6158665 commit 54bfc89
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions alc/alc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@ std::array BackendList{
#if HAVE_OSS
BackendInfo{"oss", OSSBackendFactory::getFactory},
#endif
#if HAVE_JACK
BackendInfo{"jack", JackBackendFactory::getFactory},
#endif
#if HAVE_DSOUND
BackendInfo{"dsound", DSoundBackendFactory::getFactory},
#endif
Expand All @@ -259,6 +256,9 @@ std::array BackendList{
#if HAVE_SDL2
BackendInfo{"sdl2", SDL2BackendFactory::getFactory},
#endif
#if HAVE_JACK
BackendInfo{"jack", JackBackendFactory::getFactory},
#endif
#if HAVE_OTHERIO
BackendInfo{"otherio", OtherIOBackendFactory::getFactory},
#endif
Expand Down
22 changes: 11 additions & 11 deletions utils/alsoft-config/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ constexpr std::array backendList{
#if HAVE_PULSEAUDIO
BackendNamePair{ "pulse", "PulseAudio" },
#endif
#if HAVE_ALSA
BackendNamePair{ "alsa", "ALSA" },
#endif
#if HAVE_JACK
BackendNamePair{ "jack", "JACK" },
#if HAVE_WASAPI
BackendNamePair{ "wasapi", "WASAPI" },
#endif
#if HAVE_COREAUDIO
BackendNamePair{ "core", "CoreAudio" },
#endif
#if HAVE_OSS
BackendNamePair{ "oss", "OSS" },
#if HAVE_OPENSL
BackendNamePair{ "opensl", "OpenSL" },
#endif
#if HAVE_ALSA
BackendNamePair{ "alsa", "ALSA" },
#endif
#if HAVE_SOLARIS
BackendNamePair{ "solaris", "Solaris" },
#endif
#if HAVE_SNDIO
BackendNamePair{ "sndio", "SndIO" },
#endif
#if HAVE_WASAPI
BackendNamePair{ "wasapi", "WASAPI" },
#if HAVE_OSS
BackendNamePair{ "oss", "OSS" },
#endif
#if HAVE_DSOUND
BackendNamePair{ "dsound", "DirectSound" },
Expand All @@ -70,8 +70,8 @@ constexpr std::array backendList{
#if HAVE_PORTAUDIO
BackendNamePair{ "port", "PortAudio" },
#endif
#if HAVE_OPENSL
BackendNamePair{ "opensl", "OpenSL" },
#if HAVE_JACK
BackendNamePair{ "jack", "JACK" },
#endif

BackendNamePair{ "null", "Null Output" },
Expand Down

0 comments on commit 54bfc89

Please sign in to comment.