|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|

Data Structures | |
| class | RingBufferReader |
| RAII helper for managing ring buffer reader count. More... | |
Data Fields | |
| std::atomic< int > | num_ring_buffer_readers_ { 0 } |
| Number of entities that want ring buffers to be written. | |
| std::atomic<int> zrythm::dsp::RingBufferOwningPortMixin::num_ring_buffer_readers_ { 0 } |
Number of entities that want ring buffers to be written.
This is used to avoid writing ring buffers when they are not needed by any entity. If a UI element needs ring buffers filled, this should be incremented, and then decremented when no longer needed.