From 618226d2bb9ca43d331bdea5b4d35a28d6e24d41 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 3 Mar 2022 10:22:17 -0600 Subject: [PATCH] triggerbox: avoid ridiculously small tempo settings for stretch *this should not be possible after , but just in case.... --- libs/ardour/triggerbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index c89bef9424..56b80b6e53 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1735,7 +1735,7 @@ AudioTrigger::audio_run (BufferSet& bufs, samplepos_t start_sample, samplepos_t BufferSet* scratch; std::unique_ptr scratchp; std::vector bufp(nchans); - const bool do_stretch = stretching(); + const bool do_stretch = stretching() && _segment_tempo > 1; /* see if we're going to start or stop or retrigger in this run() call */ maybe_compute_next_transition (start_sample, start, end, nframes, dest_offset);