summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-07 10:42:28 +0200
committerRobin Gareus <robin@gareus.org>2015-10-07 14:21:29 +0200
commit96b45d49099069981109d8f3f292ad1024649f61 (patch)
treef948f8e9e346d8ac2a581642ddbce032ba5a740b /libs/evoral/evoral
parent5fd4ee3ef1c422b3907e2a531c10d5c4d7d60674 (diff)
only subdivide plugin-cycle when automation is playing
PluginInsert::automation_run() subdivides plugin-run on every control-port automation event (without splitting the process cycle). libevoral has no automation-control context, hence this function must be implemented by Automatable.
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r--libs/evoral/evoral/ControlSet.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ControlSet.hpp b/libs/evoral/evoral/ControlSet.hpp
index b7d50d7d2e..f1c2d96f49 100644
--- a/libs/evoral/evoral/ControlSet.hpp
+++ b/libs/evoral/evoral/ControlSet.hpp
@@ -60,7 +60,7 @@ public:
virtual void add_control(boost::shared_ptr<Control>);
- bool find_next_event(double start, double end, ControlEvent& ev) const;
+ virtual bool find_next_event(double start, double end, ControlEvent& ev, bool only_active = true) const = 0;
virtual bool controls_empty() const { return _controls.size() == 0; }
virtual void clear_controls();