My code is using PortMidi for several years now.
I use it for writing portable C++ code to control an external MIDI Surface Control of type Mackie.
I use PortMidi latest version: 20101008
Lately we found out that when the control is used exensively on Windows 10 we receive a deadlock. This happens only on Windows 10.
When in deadlock state the following thread is stuck:
ntdll!ZwWaitForSingleObject
KERNELBASE!WaitForSingleObjectEx
wdmaud!CMIDIOutDevice::WriteEvent
wdmaud!CMIDIOutDevice::PlaySysEx
wdmaud!HwModMessage
wdmaud!dspsL
WINMMBASE!midiMessage
WINMMBASE!midiOutLongMsg
MIDICommunication!winmm_write_flush
MIDICommunication!Pm_WriteSysEx
Using debugger I found that code is waiting for an event (not a lock).
Is anyone aware of PortMidi issues on Windows 10 and/or how to get around it?
Many thanks, Paz