From 6cc18cef4f87651d741e8a23d17bdcaa841bf5c0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 12 Jun 2017 17:15:07 +0200 Subject: Fix relative grouped + VCA slaved gain --- libs/ardour/gain_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/gain_control.cc') diff --git a/libs/ardour/gain_control.cc b/libs/ardour/gain_control.cc index f516246067..ee356b017c 100644 --- a/libs/ardour/gain_control.cc +++ b/libs/ardour/gain_control.cc @@ -92,7 +92,7 @@ GainControl::inc_gain (gain_t factor) * ControlGroup::set_group_values(). */ - const float desired_gain = user_double(); + const float desired_gain = get_value (); if (fabsf (desired_gain) < GAIN_COEFF_SMALL) { // really?! what's the idea here? -- cgit v1.2.3