diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/route.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/solo_control.h | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index d93883b600..46c5b1f3c7 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -181,8 +181,6 @@ public: bool is_safe () const { return _solo_safe_control->get_value(); } - - bool listening_via_monitor () const; void enable_monitor_send (); void set_denormal_protection (bool yn); diff --git a/libs/ardour/ardour/solo_control.h b/libs/ardour/ardour/solo_control.h index bcb01344a4..24b8353dc1 100644 --- a/libs/ardour/ardour/solo_control.h +++ b/libs/ardour/ardour/solo_control.h @@ -60,6 +60,15 @@ class LIBARDOUR_API SoloControl : public SlavableAutomationControl /* API to check different aspects of solo substate */ + bool self_soloed () const { + return _self_solo; + } + bool soloed_by_masters () const { + return get_masters_value(); + } + bool soloed_by_self_or_masters () const { + return self_soloed() || get_masters_value (); + } bool soloed_by_others () const { return _soloed_by_others_downstream || _soloed_by_others_downstream || get_masters_value (); } @@ -69,9 +78,6 @@ class LIBARDOUR_API SoloControl : public SlavableAutomationControl uint32_t soloed_by_others_downstream () const { return _soloed_by_others_downstream; } - bool self_soloed () const { - return _self_solo; - } bool soloed() const { return self_soloed() || soloed_by_others(); } /* The session object needs to respond to solo |