Re: [PATCH v4 0/1] MR10581: winealsa.drv: Simulate blocking calls midiOutLongMsg.
On Tue Apr 7 16:35:35 2026 +0000, Akihiro Sagawa wrote:
Because I don't have a MIDI sound module like the MT-32 to test with, do you mean that `snd_seq_drain_output()` and `snd_seq_sync_output_queue()` weren't useful? That is correct. The corresponding `snd_rawmidi_drain()` in the Rawmidi API would work, but Wine does not use the Rawmidi API, but the Sequencer API. When using the sequencer, `snd_seq_ev_set_direct()` marks the SysEx data for immediate out of band delivery (which is indeed preferable for SysEx data) bypassing the output queue, but that also means `snd_seq_drain_output()` and `snd_seq_sync_output_queue()` are ineffective.
For what it's worth, I also tried disabling the set-direct call and adding the drain and sync calls, but there was no observable change in behaviour. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10581#note_135300
participants (1)
-
Steven Don (@shdon)