diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-16 04:01:42 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-16 04:25:20 +0100 |
commit | e4d3ebfb666e2c4e9cf134d8f3ed42152da343bf (patch) | |
tree | d0855bac03500a9dfca33b38949faf8da3ed5002 /libs/ardour/ardour/plugin_insert.h | |
parent | 17a8a50e5816b48469907fa4aa00b50103f0f02d (diff) |
Optimize plugin-processing for non-automated params
Keep a dedicated list of automated parameters to evaluate in realtime.
This fixes a performance issue with plugins that have many controls
with only few of them being automated.
Diffstat (limited to 'libs/ardour/ardour/plugin_insert.h')
-rw-r--r-- | libs/ardour/ardour/plugin_insert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index 30dd04057a..64b2bd875d 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -79,7 +79,7 @@ public: bool write_immediate_event (size_t size, const uint8_t* buf); - void automation_run (samplepos_t, pframes_t); + void automation_run (samplepos_t, pframes_t, bool only_active = false); bool find_next_event (double, double, Evoral::ControlEvent&, bool only_active = true) const; int set_block_size (pframes_t nframes); |