From 0b43e9b552252f3630350f89a5ee06c59fc3d7a1 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Mon, 19 Feb 2007 22:25:26 +0100 Subject: [PATCH] winealsa: Recognize alsa application ports as generic midi ports. --- dlls/winealsa.drv/midi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winealsa.drv/midi.c b/dlls/winealsa.drv/midi.c index 0e1343c3f7f..09018aa06ff 100644 --- a/dlls/winealsa.drv/midi.c +++ b/dlls/winealsa.drv/midi.c @@ -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);