summaryrefslogtreecommitdiff
path: root/libs/ardour/mute_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-10-14 11:16:42 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-10-14 11:42:41 -0400
commit92f1eb6be9df2ad0194872ea40c776b6c1983d08 (patch)
treed792d2f8f979277b52bfa60c8206a51823a83046 /libs/ardour/mute_control.cc
parenta4ad0a90d124f1e1b6d84fdf221d948ea3733f79 (diff)
Revert "change return type of AutomationControl::actually_set_value() from void to bool, to indicate if value was changed."
This reverts commit c104c9d4726f3ba1ecd352d13b88a57f2f964510.
Diffstat (limited to 'libs/ardour/mute_control.cc')
-rw-r--r--libs/ardour/mute_control.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/mute_control.cc b/libs/ardour/mute_control.cc
index 1b7f0f08f8..5b38547366 100644
--- a/libs/ardour/mute_control.cc
+++ b/libs/ardour/mute_control.cc
@@ -74,7 +74,7 @@ MuteControl::pre_remove_master (boost::shared_ptr<AutomationControl> m)
}
}
-bool
+void
MuteControl::actually_set_value (double val, Controllable::GroupControlDisposition gcd)
{
if (muted_by_self() != bool (val)) {
@@ -86,7 +86,7 @@ MuteControl::actually_set_value (double val, Controllable::GroupControlDispositi
_muteable.act_on_mute ();
}
- return SlavableAutomationControl::actually_set_value (val, gcd);
+ SlavableAutomationControl::actually_set_value (val, gcd);
}
void