mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 23:11:41 +00:00
Merge pull request #173 from FluidSynth/midi_port_type
adjust alsa midi port type
This commit is contained in:
commit
533fcb3a44
1 changed files with 4 additions and 1 deletions
|
@ -864,7 +864,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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue