Make ALSA default audio driver on supported platforms

The jack driver has a potential side-effect of starting
a new server. ALSA does not have such side-effects
and therefore makes a better default audio driver.
This commit is contained in:
Marcus Weseloh 2021-05-08 10:20:20 +02:00 committed by Tom M
parent 1525a6fc0b
commit 6a67dff3a7

View file

@ -40,16 +40,6 @@ struct _fluid_audriver_definition_t
/* Available audio drivers, listed in order of preference */
static const fluid_audriver_definition_t fluid_audio_drivers[] =
{
#if JACK_SUPPORT
{
"jack",
new_fluid_jack_audio_driver,
new_fluid_jack_audio_driver2,
delete_fluid_jack_audio_driver,
fluid_jack_audio_driver_settings
},
#endif
#if ALSA_SUPPORT
{
"alsa",
@ -60,6 +50,16 @@ static const fluid_audriver_definition_t fluid_audio_drivers[] =
},
#endif
#if JACK_SUPPORT
{
"jack",
new_fluid_jack_audio_driver,
new_fluid_jack_audio_driver2,
delete_fluid_jack_audio_driver,
fluid_jack_audio_driver_settings
},
#endif
#if PULSE_SUPPORT
{
"pulseaudio",