From d0f5958542a54bb7d463323be532e48540c84789 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 23 Apr 2016 13:04:08 -0400 Subject: fix chaining of masters for boolean controls --- libs/ardour/mute_control.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/mute_control.cc') diff --git a/libs/ardour/mute_control.cc b/libs/ardour/mute_control.cc index d44189e36b..a3f46ffa06 100644 --- a/libs/ardour/mute_control.cc +++ b/libs/ardour/mute_control.cc @@ -120,7 +120,7 @@ double MuteControl::get_value () const { if (slaved ()) { - return get_masters_value (); + return muted_by_self() || get_masters_value (); } if (_list && boost::dynamic_pointer_cast(_list)->automation_playback()) { @@ -128,7 +128,7 @@ MuteControl::get_value () const return AutomationControl::get_value(); } - return muted() ? 1.0 : 0.0; + return muted(); } void -- cgit v1.2.3