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/track.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/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 414f545f72..8aebf09259 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -291,7 +291,7 @@ Track::prep_record_enabled (bool yn, Controllable::GroupControlDisposition group } void -Track::set_record_enabled (bool yn, Controllable::GroupControlDisposition group_override) +Track::set_record_enabled (bool yn, Controllable::GroupControlDisposition gcd) { if (_diskstream->record_safe ()) { return; @@ -305,14 +305,14 @@ Track::set_record_enabled (bool yn, Controllable::GroupControlDisposition group_ return; } - if (use_group (group_override, &RouteGroup::is_recenable)) { + if (use_group (gcd, &RouteGroup::is_recenable)) { _route_group->apply (&Track::set_record_enabled, yn, Controllable::NoGroup); return; } _diskstream->set_record_enabled (yn); - _rec_enable_control->Changed (); + _rec_enable_control->Changed (true, gcd); } bool @@ -1151,7 +1151,7 @@ Track::set_monitoring (MonitorChoice mc, Controllable::GroupControlDisposition g } MonitoringChanged (); /* EMIT SIGNAL */ - _monitoring_control->Changed (); /* EMIT SIGNAL */ + _monitoring_control->Changed (true, gcd); } } |