Zrythm
a highly automated and intuitive digital audio workstation
|
Container for passing midi events through ports. More...
#include <dsp/midi_event.h>
Data Fields | |
int | num_events |
Event count. | |
MidiEvent | events [MAX_MIDI_EVENTS] |
Events to use in this cycle. | |
MidiEvent | queued_events [MAX_MIDI_EVENTS] |
For queueing events from the GUI or from hardware, since they run in different threads. | |
int | num_queued_events |
ZixSem | access_sem |
Semaphore for exclusive read/write. | |
Container for passing midi events through ports.
This should be passed in the data field of MIDI Ports.
Definition at line 61 of file midi_event.h.
ZixSem MidiEvents::access_sem |
Semaphore for exclusive read/write.
Definition at line 80 of file midi_event.h.
MidiEvent MidiEvents::events[MAX_MIDI_EVENTS] |
Events to use in this cycle.
Definition at line 67 of file midi_event.h.
int MidiEvents::num_events |
Event count.
Definition at line 64 of file midi_event.h.
int MidiEvents::num_queued_events |
Definition at line 77 of file midi_event.h.
MidiEvent MidiEvents::queued_events[MAX_MIDI_EVENTS] |
For queueing events from the GUI or from hardware, since they run in different threads.
Engine will copy them to the unqueued MIDI events when ready to be processed.
Definition at line 76 of file midi_event.h.