From a80793a55b589627c363d9d5d6ff0be8b0b1393e Mon Sep 17 00:00:00 2001 From: derselbst Date: Wed, 5 Jul 2017 18:43:58 +0200 Subject: [PATCH] adjust alsa midi port type fix #139 --- fluidsynth/src/drivers/fluid_alsa.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fluidsynth/src/drivers/fluid_alsa.c b/fluidsynth/src/drivers/fluid_alsa.c index 16aee63a..2999858c 100644 --- a/fluidsynth/src/drivers/fluid_alsa.c +++ b/fluidsynth/src/drivers/fluid_alsa.c @@ -856,7 +856,10 @@ new_fluid_alsa_seq_driver(fluid_settings_t* settings, SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE); snd_seq_port_info_set_type(port_info, - SND_SEQ_PORT_TYPE_MIDI_GENERIC | SND_SEQ_PORT_TYPE_APPLICATION); + SND_SEQ_PORT_TYPE_MIDI_GM | + SND_SEQ_PORT_TYPE_SYNTHESIZER | + SND_SEQ_PORT_TYPE_APPLICATION | + SND_SEQ_PORT_TYPE_MIDI_GENERIC); snd_seq_port_info_set_midi_channels(port_info, 16); snd_seq_port_info_set_port_specified(port_info, 1);