[Jack-Devel] jack midi event reserve vs. write

ROBERT WOLF robert.wolf at hercsmusicsystems.com.au
Tue Dec 20 12:09:02 CET 2016


Dear All,

What exactly is the difference between *jack_midi_event_reserve* and 
*jack_midi_event_write* ?
In particular, if I call *jack_midi_event_write*, does it actually copy 
the data from the buffer, which I provide?
Or does it use that same buffer.

Another question is how can I send midi events generated from GUI, 
(which does not run in the audio callback)?
My guess is to cache them somewhere and transmit them inside the callback?
Am I guessing correctly?

Cheers,

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20161220/902000b3/attachment.html>


More information about the Jackaudio mailing list