summaryrefslogtreecommitdiff
path: root/libs/ardour/amp.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-03 22:47:25 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:39 -0400
commit562ec7df8fa25b78fc69880178c234cd5ee9d238 (patch)
tree8a7cc237ce735480aad2d9ecc1b843728dd87cc3 /libs/ardour/amp.cc
parentc572d4ed9e9a031dca59227fd0563803b87c2953 (diff)
probably get the design of VCAs basically correct: use a per-master ratio model
See comments in the code for a bit more detail
Diffstat (limited to 'libs/ardour/amp.cc')
-rw-r--r--libs/ardour/amp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc
index 0e29922747..42b8d084cf 100644
--- a/libs/ardour/amp.cc
+++ b/libs/ardour/amp.cc
@@ -118,7 +118,7 @@ Amp::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/,
} else { /* manual (scalar) gain */
- gain_t const dg = _gain_control->user_double() * _gain_control->get_master_gain ();
+ gain_t const dg = _gain_control->get_value();
if (_current_gain != dg) {