summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-21 15:04:20 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-21 15:07:07 +0100
commit1b2a64c391d7f4a81dda85bdbd063fb80329e498 (patch)
tree05cb2722edf3c24601d0744c6d3e801c34bd6e8e /libs/ardour/automation_control.cc
parent9de5c61b9e04e9949ef426663c6542dd13a5e42a (diff)
redesign VCA control over gain (and theoretically other scalar controls)
master(s) value now just scales the control's own value; a trivial bit of math at assign/deassign ensures that values do not change during add/remove master operations
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r--libs/ardour/automation_control.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc
index c090bca364..0a29e7e662 100644
--- a/libs/ardour/automation_control.cc
+++ b/libs/ardour/automation_control.cc
@@ -169,9 +169,9 @@ AutomationControl::actually_set_value (double value, PBD::Controllable::GroupCon
Control::set_double (value, pos, to_list);
if (old_value != value) {
- // AutomationType at = (AutomationType) _parameter.type();
- // std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value
- // << " (was " << old_value << ") @ " << this << std::endl;
+ //AutomationType at = (AutomationType) _parameter.type();
+ //std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value
+ //<< " (was " << old_value << ") @ " << this << std::endl;
Changed (true, gcd);
_session.set_dirty ();