diff options
Diffstat (limited to 'libs/ardour/ardour/automation_control.h')
-rw-r--r-- | libs/ardour/ardour/automation_control.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h index a2eff17d9a..f576cb52c0 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -161,6 +161,11 @@ class SlavableAutomationControl : public AutomationControl void clear_masters (); bool slaved_to (boost::shared_ptr<AutomationControl>) const; bool slaved () const; + double get_masters_value () const { + Glib::Threads::RWLock::ReaderLock lm (master_lock); + return get_masters_value_locked (); + } + std::vector<PBD::ID> masters () const; PBD::Signal0<void> MasterStatusChange; |