From e64fdcfb5501e46ce5a3f7923bd9ffc837024901 Mon Sep 17 00:00:00 2001 From: CalebJPotter Date: Wed, 9 Mar 2022 09:57:05 -0600 Subject: [PATCH] fixes issue where monitor section gets stuck on mute This mute button wasn't meant to mute the monitor section in the first place. --- libs/surfaces/mackie/mcp_buttons.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 5aded2898f..6cca07f1f7 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -1261,14 +1261,12 @@ MackieControlProtocol::prog2_clear_solo_press (Button &) StripableList sl; session->get_stripables (sl); - bool allmuted = true; for (StripableList::const_iterator i = sl.begin(); i != sl.end(); ++i) { boost::shared_ptr mc = (*i)->mute_control(); - if (!mc->muted() && (!(*i)->is_master())) + if (!mc->muted() && (!(*i)->is_master()) && (!(*i)->is_monitor())) { mc->set_value(1.0, Controllable::UseGroup); - allmuted = false; } }