diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-16 04:07:55 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-16 04:25:24 +0100 |
commit | 6b1b72a247bf04c81292fc41af4f69c9b7f90379 (patch) | |
tree | 9d5757acb39b406ae0215ec692c0cd58d843b2ff /libs/ardour/ardour/automatable.h | |
parent | e4d3ebfb666e2c4e9cf134d8f3ed42152da343bf (diff) |
Optimize automation-event process splitting
Use RCU of automated parameter when looking for next automation event
to use for split processing. This speeds up PluginInsert processing
when rolling for plugins with many not-automated parameters.
Diffstat (limited to 'libs/ardour/ardour/automatable.h')
-rw-r--r-- | libs/ardour/ardour/automatable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/automatable.h b/libs/ardour/ardour/automatable.h index fe14cacf77..d2fbb1aa8d 100644 --- a/libs/ardour/ardour/automatable.h +++ b/libs/ardour/ardour/automatable.h @@ -126,6 +126,8 @@ protected: SlavableControlList slavables () const { return SlavableControlList(); } private: + inline void find_next_ac_event (boost::shared_ptr<AutomationControl>, double start, double end, Evoral::ControlEvent& ev) const; + PBD::ScopedConnectionList _control_connections; ///< connections to our controls' signals }; |