diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-03 22:47:25 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:39 -0400 |
commit | 562ec7df8fa25b78fc69880178c234cd5ee9d238 (patch) | |
tree | 8a7cc237ce735480aad2d9ecc1b843728dd87cc3 /libs/ardour/amp.cc | |
parent | c572d4ed9e9a031dca59227fd0563803b87c2953 (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.cc | 2 |
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) { |