|
Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
|
Per-requester cache for drained observation data. More...
#include <src/dsp/port_observation_cache.h>
Public Member Functions | |
| void | clear_audio () |
| void | clear_midi () |
| void | clear () |
Data Fields | |
| std::vector< std::vector< float > > | audio |
| std::vector< RealtimeMidiEvent > | midi |
Static Public Attributes | |
| static constexpr size_t | kMaxAudioSamples = 100000 |
| static constexpr size_t | kMaxMidiEvents = 4096 |
Per-requester cache for drained observation data.
Filled by the manager's drain timer (consuming reads from observer ring buffers). Read by UI components at their own pace — no synchronization needed since each requester has its own cache.
Definition at line 21 of file port_observation_cache.h.
|
inline |
Definition at line 35 of file port_observation_cache.h.
|
inline |
Definition at line 29 of file port_observation_cache.h.
|
inline |
Definition at line 34 of file port_observation_cache.h.
| std::vector<std::vector<float> > zrythm::dsp::PortObservationCache::audio |
Definition at line 26 of file port_observation_cache.h.
|
staticconstexpr |
Definition at line 23 of file port_observation_cache.h.
|
staticconstexpr |
Definition at line 24 of file port_observation_cache.h.
| std::vector<RealtimeMidiEvent> zrythm::dsp::PortObservationCache::midi |
Definition at line 27 of file port_observation_cache.h.