diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-15 00:38:03 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:41 -0400 |
commit | 6de4953be8dc5cd413b405d4801f086567923965 (patch) | |
tree | 4e428efc0668e9dc78d8cfee407042b7f976742d /libs/ardour/gain_control.cc | |
parent | 7d493b091ae2741db39a65cc62e9d17ef57d7606 (diff) |
a variety of changes that get closer to correctly functioning behaviour for VCA solo+mute (BUT ARE NOT DONE YET)
Diffstat (limited to 'libs/ardour/gain_control.cc')
-rw-r--r-- | libs/ardour/gain_control.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libs/ardour/gain_control.cc b/libs/ardour/gain_control.cc index 508ddd12a6..3ffeb057da 100644 --- a/libs/ardour/gain_control.cc +++ b/libs/ardour/gain_control.cc @@ -43,28 +43,6 @@ GainControl::GainControl (Session& session, const Evoral::Parameter ¶m, boos range_db = accurate_coefficient_to_dB (_desc.upper) - lower_db; } -void -GainControl::actually_set_value (double val, Controllable::GroupControlDisposition group_override) -{ - val = std::max (std::min (val, (double)_desc.upper), (double)_desc.lower); - - { - Glib::Threads::RWLock::WriterLock lm (master_lock); - - if (!_masters.empty()) { - recompute_masters_ratios (val); - } - } - - /* this sets the Evoral::Control::_user_value for us, which will - be retrieved by AutomationControl::get_value () - */ - - AutomationControl::actually_set_value (val, group_override); - - _session.set_dirty (); -} - double GainControl::internal_to_interface (double v) const { |