winealsa: Recognize alsa application ports as generic midi ports.

This commit is contained in:
Christian Costa 2007-02-19 22:25:26 +01:00 committed by Alexandre Julliard
parent 254b97732b
commit 0b43e9b552
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ static int MIDI_AlsaToWindowsDeviceType(int type)
if (type & (SND_SEQ_PORT_TYPE_DIRECT_SAMPLE|SND_SEQ_PORT_TYPE_SAMPLE))
return MOD_SYNTH;
if (type & SND_SEQ_PORT_TYPE_MIDI_GENERIC)
if (type & (SND_SEQ_PORT_TYPE_MIDI_GENERIC|SND_SEQ_PORT_TYPE_APPLICATION))
return MOD_MIDIPORT;
ERR("Cannot determine the type (alsa type is %x) of this midi device. Assuming FM Synth\n", type);