|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Container for passing midi events through ports. More...
#include <src/dsp/midi_event.h>

Public Member Functions | |
| void | dequeue (units::sample_u32_t local_offset, units::sample_u32_t nframes) |
| Copies the queue contents to the original struct. | |
Data Fields | |
| MidiEventVector | active_events_ |
| Events to use in this cycle. | |
| MidiEventVector | queued_events_ |
| For queueing events from the GUI or from hardware, since they run in different threads. | |
Container for passing midi events through ports.
This should be passed in the data field of MIDI Ports.
Definition at line 448 of file midi_event.h.
| void zrythm::dsp::MidiEvents::dequeue | ( | units::sample_u32_t | local_offset, |
| units::sample_u32_t | nframes ) |
Copies the queue contents to the original struct.
| local_offset | The start frame offset from 0 in this cycle. |
| nframes | Number of frames to process. |
| MidiEventVector zrythm::dsp::MidiEvents::active_events_ |
Events to use in this cycle.
Definition at line 461 of file midi_event.h.
| MidiEventVector zrythm::dsp::MidiEvents::queued_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 470 of file midi_event.h.