|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Tracks parameter value changes across processing cycles. More...
#include <src/dsp/processor_base.h>
Data Structures | |
| struct | Change |
Public Member Functions | |
| const auto & | changes () const |
| Returns the changes accumulated during the current cycle. | |
Friends | |
| class | ProcessorBase |
Tracks parameter value changes across processing cycles.
Built during the existing parameter loop in process_block() — no extra passes. prev_values_ starts at -1.f (sentinel, since normalized values are [0,1]) so the first cycle naturally marks all params as changed.
Only valid to read during custom_process_block(); cleared afterward.
Definition at line 34 of file processor_base.h.
|
inline |
Returns the changes accumulated during the current cycle.
Definition at line 46 of file processor_base.h.
|
friend |
Definition at line 49 of file processor_base.h.