MidiEvents struct
#include <audio/midi_event.h>
Container for passing midi events through ports.
Contents
- Reference
This should be passed in the data field of MIDI Ports
Public variables
- volatile 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.
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.