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).
This commit is contained in:
parent
22e5374389
commit
17cd3853e0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user