From bcd47ebffbefb6e91622eb3449e17959ddaa59b6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 23 Nov 2019 15:52:49 -0700 Subject: [PATCH] remove debug message about LOCATE WITHOUT DECLICK. This behavior is normal and legal when looping --- libs/ardour/disk_reader.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index 03e3b50d59..9bcee66776 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -601,17 +601,9 @@ DiskReader::seek (samplepos_t sample, bool complete_refill) ChannelList::iterator chan; boost::shared_ptr c = channels.reader(); -#ifndef NDEBUG - if (_declick_amp.gain() != 0) { - /* this should not happen. new transport should postponse seeking - * until de-click is complete */ - printf ("LOCATE WITHOUT DECLICK (gain=%f) at %ld seek-to %ld\n", _declick_amp.gain (), playback_sample, sample); - //return -1; - } if (sample == playback_sample && !complete_refill) { return 0; // XXX double-check this } -#endif g_atomic_int_set (&_pending_overwrite, 0);