diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-15 20:52:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-16 16:52:12 +0200 |
commit | 06ca52d5a5c405a5cb2b3f2d827edc60712412e9 (patch) | |
tree | 4fd2417f75f49743624fb3caa6f9672fc999b769 /libs/ardour/ardour/slavable_automation_control.h | |
parent | 906cf85982c209caebed3053c3a33d77ca6ddee0 (diff) |
Add API to run automation only (emit Changed signal).
Note: MuteControl already implemented this,
This removes the special case of boolean_automation_run().
Likewise this removes special-cases for actually_set_value() during
automation playback.
Diffstat (limited to 'libs/ardour/ardour/slavable_automation_control.h')
-rw-r--r-- | libs/ardour/ardour/slavable_automation_control.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/slavable_automation_control.h b/libs/ardour/ardour/slavable_automation_control.h index eaa4341616..091d55b989 100644 --- a/libs/ardour/ardour/slavable_automation_control.h +++ b/libs/ardour/ardour/slavable_automation_control.h @@ -46,6 +46,8 @@ public: bool slaved_to (boost::shared_ptr<AutomationControl>) const; bool slaved () const; + virtual void automation_run (framepos_t start, pframes_t nframes); + double get_masters_value () const { Glib::Threads::RWLock::ReaderLock lm (master_lock); return get_masters_value_locked (); |