https://bugs.winehq.org/show_bug.cgi?id=46170
--- Comment #19 from Andrew Eikum aeikum@codeweavers.com --- Oh, replied too early...
(In reply to Nikos Chantziaras from comment #17)
As for the game that results in cut-off instruments and wrong MIDI channels, that would be "Gabriel Knight Sins of the Fathers", but I now tested it on Windows 7 and it's 100% a ScummVM bug. The MIDI is broken there too, in exactly the same manner.
...
However, I kept trying to reproduce the issue with Linux ScummVM + Linux Fluidsynth for a while. After dozens and dozens of attempts, I got the intro to play the wrong instruments once. No Wine involved. The instruments were wrong in a different way though, so I don't know if it's the same issue. Confusing is what this is... :-P
So, this sounds like an alsa or alsa-lib bug, compounded by Wine failing to handle NULL events correctly, right? So we should handle NULL events in Wine (accept Fabian's v2 patch) and also pass this over to the alsa bug tracker. Sound right?