Added SND_SEQ_POT_TYPE_MIDI_GENERIC back into ALSA sequencer driver.

Updated mime type for doc/example.sf2 to binary and re-copied it.
This commit is contained in:
Josh Green 2007-08-18 21:32:47 +00:00
parent 5cc0701f17
commit b1d77a04e5
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-08-18 Josh Green <jgreen@users.sourceforge.net>
* src/fluid_alsa.c: Added SND_SEQ_PORT_TYPE_MIDI_GENERIC back into the
ALSA sequencer port registration as it broke the use of playmidi
(thanks to Dave Serls for providing a patch and pointing this out).
2007-01-14 Josh Green <jgreen@users.sourceforge.net>
* src/fluid_alsa.c: Fixed evil bugs in ALSA driver where return value

View file

@ -966,7 +966,7 @@ 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_APPLICATION);
SND_SEQ_PORT_TYPE_MIDI_GENERIC | SND_SEQ_PORT_TYPE_APPLICATION);
snd_seq_port_info_set_midi_channels(port_info, 16);
snd_seq_port_info_set_port_specified(port_info, 1);