mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
triggerbox: avoid ridiculously small tempo settings for stretch
*this should not be possible after , but just in case....
This commit is contained in:
parent
58f2c074a6
commit
618226d2bb
1 changed files with 1 additions and 1 deletions
|
|
@ -1735,7 +1735,7 @@ AudioTrigger::audio_run (BufferSet& bufs, samplepos_t start_sample, samplepos_t
|
||||||
BufferSet* scratch;
|
BufferSet* scratch;
|
||||||
std::unique_ptr<BufferSet> scratchp;
|
std::unique_ptr<BufferSet> scratchp;
|
||||||
std::vector<Sample*> bufp(nchans);
|
std::vector<Sample*> 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 */
|
/* 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);
|
maybe_compute_next_transition (start_sample, start, end, nframes, dest_offset);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue