Fix relative grouped + VCA slaved gain
authorRobin Gareus <robin@gareus.org>
Mon, 12 Jun 2017 15:15:07 +0000 (17:15 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 12 Jun 2017 15:20:41 +0000 (17:20 +0200)
libs/ardour/gain_control.cc

index f5162460670ca2f8d1ea71f221dc1a8d40cc9a6e..ee356b017c3169c235b70e497325dc0b442b5bbf 100644 (file)
@@ -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?