mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-02 17:12:15 +00:00
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:
parent
1525a6fc0b
commit
6a67dff3a7
1 changed files with 10 additions and 10 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue