MidiEvents struct

Container for passing midi events through ports.

Contents

This should be passed in the data field of MIDI Ports

Public variables

int num_events
Event count.
MidiEvent events
Events to use in this cycle.
MidiEvent queued_events
For queueing events from the GUI or from ALSA at random times, since they run in different threads.
ZixSem access_sem
Semaphore for exclusive read/write.
Port* port
Cache, pointer back to owner Port.

Variable documentation

MidiEvent MidiEvents::queued_events

For queueing events from the GUI or from ALSA at random times, since they run in different threads.

Engine will copy them to the original MIDI events when ready to be processed

Also has other uses.