summaryrefslogtreecommitdiff
path: root/libs/ardour/vca.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-07 15:53:44 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:39 -0400
commit1132d3f4c8871ab15364b442da49acfdfeff1223 (patch)
tree3829a97587621b74057307fee3be766873f7a8d7 /libs/ardour/vca.cc
parentaee283f056e387266c23213903f97034f632cac1 (diff)
VCA solo and mute controls need to call AutomationControl::set_value() to emit a signal
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r--libs/ardour/vca.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc
index f627dc033e..6873a29df9 100644
--- a/libs/ardour/vca.cc
+++ b/libs/ardour/vca.cc
@@ -219,13 +219,16 @@ VCA::VCASoloControllable::set_value (double val, PBD::Controllable::GroupControl
}
void
-VCA::VCASoloControllable::_set_value (double val, PBD::Controllable::GroupControlDisposition /*gcd*/)
+VCA::VCASoloControllable::_set_value (double val, PBD::Controllable::GroupControlDisposition gcd)
{
boost::shared_ptr<VCA> vca = _vca.lock();
if (!vca) {
return;
}
+
vca->set_solo (val >= 0.5);
+
+ AutomationControl::set_value (val, gcd);
}
void
@@ -264,13 +267,17 @@ VCA::VCAMuteControllable::set_value (double val, PBD::Controllable::GroupControl
}
void
-VCA::VCAMuteControllable::_set_value (double val, PBD::Controllable::GroupControlDisposition /*gcd*/)
+VCA::VCAMuteControllable::_set_value (double val, PBD::Controllable::GroupControlDisposition gcd)
{
boost::shared_ptr<VCA> vca = _vca.lock();
+
if (!vca) {
return;
}
+
vca->set_mute (val >= 0.5);
+
+ AutomationControl::set_value (val, gcd);
}
void