mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 09:32:02 +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 */
|
/* Available audio drivers, listed in order of preference */
|
||||||
static const fluid_audriver_definition_t fluid_audio_drivers[] =
|
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
|
#if ALSA_SUPPORT
|
||||||
{
|
{
|
||||||
"alsa",
|
"alsa",
|
||||||
|
@ -60,6 +50,16 @@ static const fluid_audriver_definition_t fluid_audio_drivers[] =
|
||||||
},
|
},
|
||||||
#endif
|
#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
|
#if PULSE_SUPPORT
|
||||||
{
|
{
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
|
|
Loading…
Reference in a new issue