https://bugs.winehq.org/show_bug.cgi?id=57805
Brendan Shanks bshanks@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks@codeweavers.com
--- Comment #1 from Brendan Shanks bshanks@codeweavers.com --- I was able to test this by enabling the IAC driver in Audio MIDI Setup, then having Pocket MIDI in Wine send data to native Mac Pocket MIDI. The bug shows up with Program Change or Channel Aftertouch messages (both 2 bytes). The Windows MODM_DATA message always includes 3 bytes, and the docs say that "the driver must parse the event to determine how many bytes to transfer". We do not do that, and are just passing all 3 bytes to Core MIDI. Core MIDI must be doing some parsing, as 1 byte messages are sent without an issue. But for these 2 byte messages, we need to only send those 2 bytes to Core MIDI.
An MR with a fix is up at:
https://gitlab.winehq.org/wine/wine/-/merge_requests/7348