[Bug 46170] Programs that get MIDI data from the "Midi Through" port will crash

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 29 16:28:22 CST 2018


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

--- Comment #21 from Fabian Maurer <dark.shadow4 at web.de> ---
As of
https://source.winehq.org/git/wine.git/?a=commitdiff;h=20e5920135476cc4e380823a694537fca7fdf7e1
the patch is upstreamed.

I found something in the alsa docs:

https://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_event.html writes:
> Occasionally, this function may return -ENOSPC error. This means that the input FIFO of sequencer overran, and some events are lost. Once this error is returned, the input FIFO is cleared automatically.

And guess what value snd_seq_event_input returns when ev is NULL? It returns
-28 (ENOSPC).
Makes we wonder, should we better check the return value instead of ev?
Also, do we want to log a warning of some sort?

Apart from that, I don't see a bug here we should report or investigate
further.

-- 
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