diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-11 10:34:51 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:40 -0400 |
commit | 5531c834963726d5a35db078e17a7508f2b9d72d (patch) | |
tree | 79adf0c05ce8a665e2b239579734bc638d704b3b /libs/ardour/monitor_processor.cc | |
parent | 36784ee94f30213ddbf4360b254e27da7d07c56a (diff) |
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
Diffstat (limited to 'libs/ardour/monitor_processor.cc')
-rw-r--r-- | libs/ardour/monitor_processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<bool>::set_value (double v, PBD::Controllable::GroupControlDisposition /*group_override*/) { + template<> void MPControl<bool>::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 */ } } } |