summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-02-02 19:00:53 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-02 19:00:53 -0500
commit23672407350e4e36409389da3bda99bef753ad02 (patch)
tree33478bc7aea6202607443a785236bee9c9f534e1 /libs
parentfea89a7f9bc2ad11764e588c2878c25abe3f7b27 (diff)
fix mistaken logic for Route::MuteControllable::set_value()
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/route_controls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/route_controls.cc b/libs/ardour/route_controls.cc
index 7cd4f61124..5ab7524f84 100644
--- a/libs/ardour/route_controls.cc
+++ b/libs/ardour/route_controls.cc
@@ -70,7 +70,7 @@ Route::set_control (AutomationType type, double val, PBD::Controllable::GroupCon
/* session must mediate group control */
rl.reset (new RouteList);
rl->push_back (shared_from_this());
- _session.set_mute (rl, !muted(), Session::rt_cleanup, group_override);
+ _session.set_mute (rl, val >= 0.5 ? true : false, Session::rt_cleanup, group_override);
return;
break;