[Bug 6995] libwine-alsa: wine should recognize alsa application
ports as generic midi ports
Samuel Thibault
samuel.thibault at ens-lyon.org
Sat Feb 17 06:05:28 CST 2007
Hi,
Here is a patch for fixing bug 6995.
Samuel
-------------- next part --------------
--- wine/dlls/winmm/winealsa/midi.c-orig 2006-02-11 11:10:56.000000000 +0100
+++ wine/dlls/winmm/winealsa/midi.c 2006-02-11 11:10:56.000000000 +0100
@@ -158,7 +158,7 @@
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);
More information about the wine-patches
mailing list