mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Fix initial disk-reader fade-in
Since 4508d5bab this only happened after a fade-out.
Currently there is no fade when transport is stopped and monitor
mode changes MonitoringDisk <-> MonitoringInput.
DiskReader::DeclickAmp is only used for data from disk.
Fading live-input data passing through will likely need another
Amp.
This commit is contained in:
parent
4fa955baf2
commit
9604e64c35
1 changed files with 3 additions and 0 deletions
|
|
@ -292,6 +292,9 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
|||
} else {
|
||||
_declick_enabled = _session.cfg ()->get_use_monitor_fades ();
|
||||
}
|
||||
} else if (_declick_amp.gain () == GAIN_COEFF_ZERO && speed == 0) {
|
||||
/* fade in */
|
||||
_declick_enabled = _session.cfg ()->get_use_transport_fades ();
|
||||
}
|
||||
|
||||
if (!_declick_enabled || (_session.exporting () && !_session.realtime_export ())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue