[Bug 6995] libwine-alsa: wine should recognize alsa application
ports as generic midi ports
Christian Costa
titan.costa at wanadoo.fr
Mon Feb 19 15:25:26 CST 2007
Hi,
Here is the patch against current git.
Christian
Samuel Thibault a écrit :
> Hi,
>
> Here is a patch for fixing bug 6995.
>
> Samuel
>
> ------------------------------------------------------------------------
>
> --- 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);
>
> ------------------------------------------------------------------------
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winealsa.diff
Type: text/x-patch
Size: 601 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070219/265cca25/winealsa.bin
More information about the wine-patches
mailing list