summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/disk_reader.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc
index 28f0ed3684..02805c3bcd 100644
--- a/libs/ardour/disk_reader.cc
+++ b/libs/ardour/disk_reader.cc
@@ -499,7 +499,10 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
bool
DiskReader::declick_in_progress () const
{
- return _session.cfg()->get_use_transport_fades() && (_declick_amp.gain() != 0); // declick-out
+ if (!_session.cfg()->get_use_transport_fades () || (_session.exporting () && ! _session.realtime_export ())) {
+ return false;
+ }
+ return (_declick_amp.gain() != 0); // declick-out
}
bool