[Bug 42818] New: MIDI Time Code Quarter Frame messages not passed to ALSA

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 12 23:40:09 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=42818

            Bug ID: 42818
           Summary: MIDI Time Code Quarter Frame messages not passed to
                    ALSA
           Product: Wine
           Version: 1.6
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: winealsa.drv
          Assignee: wine-bugs at winehq.org
          Reporter: mdmayfield at yahoo.com
      Distribution: ---

MIDI Time Code (MTC) Quarter Frame messages are not correctly passed to ALSA,
causing sync to fail when the Windows application running under Wine (such as
REAPER) is the master timekeeper.

The problem is in dlls/winealsa.drv/midi.c, lines 931-945, which tries to use
snd_seq_ev_set_sysex to send these messages. Based on the discussion in
https://bugs.winehq.org/show_bug.cgi?id=26928 this must have once worked, but
apparently with more recent versions of ALSA these messages are never actually
sent via snd_seq_ev_set_sysex (it must have become more strict in its
definition of "SysEx").

Commit 53454ce9359f4ec485aa9411a0e9b14e3d1ed0fa "Fix handling of system real
time MIDI messages" by 00cpxxx appears to address a very similar issue with
some messages, but does not address Quarter Frames.

By using that approach as a template I was able to make Quarter Frame messages
work again:
https://github.com/mdmayfield/wine/commit/ab1763e7287a7062f658c40def5bf9919f78c150

Without this patch I could reproduce the issue on Wine 1.6, 1.8, 1.9,and 2.4.

Once I have time I will try to create a proper patch submission. Otherwise
please feel free to use or adapt the fix from the GitHub link above.

Thanks,

Matt

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list