From 51bbe4bed89482349188d84c360065c0e769354a Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Fri, 7 Jun 2019 10:04:21 +0200 Subject: [PATCH] Fix neverending play queue When a clip record gets stopped manually while having auto stop rec active, it might happen that a clip gets stuck in play queue. This is fixed now. closes #45 --- src/looperclip.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/looperclip.cxx b/src/looperclip.cxx index 14ebac8..d308c6a 100644 --- a/src/looperclip.cxx +++ b/src/looperclip.cxx @@ -283,7 +283,7 @@ LooperClip::bar() setRecording(); } - if(jack->getClipLength() > 0 && + if(_recording && jack->getClipLength() > 0 && _barsRecorded == jack->getClipLength() - 1) { queuePlay(); }