From 5531c834963726d5a35db078e17a7508f2b9d72d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Mar 2016 10:34:51 -0500 Subject: change API of Controllable::Changed signal to include (from_self, GroupControlDisposition) This allows the signal to convey more information, which may be required by some handlers of a control's Changed signal --- libs/ardour/monitor_processor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/monitor_processor.cc') diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc index c7a79ee2f5..e5c58009af 100644 --- a/libs/ardour/monitor_processor.cc +++ b/libs/ardour/monitor_processor.cc @@ -37,11 +37,11 @@ using namespace std; /* specialize for bool because of set_value() semantics */ namespace ARDOUR { - template<> void MPControl::set_value (double v, PBD::Controllable::GroupControlDisposition /*group_override*/) { + template<> void MPControl::set_value (double v, PBD::Controllable::GroupControlDisposition gcd) { bool newval = fabs (v) >= 0.5; if (newval != _value) { _value = newval; - Changed(); /* EMIT SIGNAL */ + Changed (true, gcd); /* EMIT SIGNAL */ } } } -- cgit v1.2.3