From 6de4953be8dc5cd413b405d4801f086567923965 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 15 Apr 2016 00:38:03 -0400 Subject: a variety of changes that get closer to correctly functioning behaviour for VCA solo+mute (BUT ARE NOT DONE YET) --- libs/ardour/gain_control.cc | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'libs/ardour/gain_control.cc') 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 { -- cgit v1.2.3