diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-24 22:01:42 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-24 22:06:15 +0100 |
commit | 17cd3853e0665059d7ae01171594965979957707 (patch) | |
tree | 7ea8b18630518c981764aa1f16becfe426f72c89 /libs/ardour/delivery.cc | |
parent | 22e5374389dd9505bf7b902bbcf52eedecc1e969 (diff) |
Fix initial audible noise on muted or silenced tracks
When loading a session with muted tracks, those tracks were
not initially muted, but ardour only faded them out.
The same happened to sends, and also tracks with non unity fader:
an initial fade from unity to target gain was done.
Now this send and deliveries always fade-in (like default Amp does).
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r-- | libs/ardour/delivery.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index 32f2f14bdb..b278b04c8b 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -60,7 +60,7 @@ Delivery::Delivery (Session& s, boost::shared_ptr<IO> io, boost::shared_ptr<Pann : IOProcessor(s, boost::shared_ptr<IO>(), (role_requires_output_ports (r) ? io : boost::shared_ptr<IO>()), name) , _role (r) , _output_buffers (new BufferSet()) - , _current_gain (GAIN_COEFF_UNITY) + , _current_gain (GAIN_COEFF_ZERO) , _no_outs_cuz_we_no_monitor (false) , _mute_master (mm) , _no_panner_reset (false) @@ -84,7 +84,7 @@ Delivery::Delivery (Session& s, boost::shared_ptr<Pannable> pannable, boost::sha : IOProcessor(s, false, (role_requires_output_ports (r) ? true : false), name, "", DataType::AUDIO, (r == Send)) , _role (r) , _output_buffers (new BufferSet()) - , _current_gain (GAIN_COEFF_UNITY) + , _current_gain (GAIN_COEFF_ZERO) , _no_outs_cuz_we_no_monitor (false) , _mute_master (mm) , _no_panner_reset (false) |