summaryrefslogtreecommitdiff
path: root/libs/ardour/mute_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-04-19 15:43:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:41 -0400
commitbce617375eeb0429e8f98f19839faf7be8a84a5d (patch)
tree46d29b812e61d1f32fd59814dae5c4d1cfc9cd86 /libs/ardour/mute_control.cc
parent9e70384ccfc81adc76910fd5365668a47f70d9c8 (diff)
fix return type of SlavableAutomationControl::get_boolean_masters() to make it usefl
Diffstat (limited to 'libs/ardour/mute_control.cc')
-rw-r--r--libs/ardour/mute_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/mute_control.cc b/libs/ardour/mute_control.cc
index a345f54203..26280d5cd5 100644
--- a/libs/ardour/mute_control.cc
+++ b/libs/ardour/mute_control.cc
@@ -67,7 +67,7 @@ MuteControl::pre_remove_master (boost::shared_ptr<AutomationControl> m)
}
if (m->get_value()) {
- if (!muted_by_self() && (muted_by_others() == 1)) {
+ if (!muted_by_self() && (get_boolean_masters() == 1)) {
Changed (false, Controllable::NoGroup);
}
}