Commit 0b43e9b5 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

winealsa: Recognize alsa application ports as generic midi ports.

parent 254b9773
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment