summaryrefslogtreecommitdiff
path: root/libs/ardour/gain_control.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-12 17:15:07 +0200
committerRobin Gareus <robin@gareus.org>2017-06-12 17:20:41 +0200
commit6cc18cef4f87651d741e8a23d17bdcaa841bf5c0 (patch)
treefcb145fa03205391d0bb75098796e01df548cce0 /libs/ardour/gain_control.cc
parent8faf07bd6ceec6a445c826efa21081e6a5594fe1 (diff)
Fix relative grouped + VCA slaved gain
Diffstat (limited to 'libs/ardour/gain_control.cc')
-rw-r--r--libs/ardour/gain_control.cc2
1 files changed, 1 insertions, 1 deletions
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?