Module: wine Branch: master Commit: 0b43e9b552252f3630350f89a5ee06c59fc3d7a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b43e9b552252f3630350f89a5...
Author: Christian Costa titan.costa@wanadoo.fr Date: Mon Feb 19 22:25:26 2007 +0100
winealsa: Recognize alsa application ports as generic midi ports.
---
dlls/winealsa.drv/midi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winealsa.drv/midi.c b/dlls/winealsa.drv/midi.c index 0e1343c..09018aa 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);