mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix missing MIDI playback by using correct (expanded) logic in DiskReader::declick_in_progress()
If use_transport_fades() is false, then the declick_amp will have its gain always set to the current target (no declick). Therefore only testing if it has reached zero is not enough, we need to check if we are declicking at all.
This commit is contained in:
parent
a463a1e0ea
commit
79f0ad0533
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
|||
bool
|
||||
DiskReader::declick_in_progress () const
|
||||
{
|
||||
return _declick_amp.gain() != 0; // declick-out
|
||||
return _session.cfg()->get_use_transport_fades() && (_declick_amp.gain() != 0); // declick-out
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue