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
main
Georg Krause 2019-06-07 10:04:21 +02:00
parent 773692e1f9
commit 51bbe4bed8
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ LooperClip::bar()
setRecording();
}
if(jack->getClipLength() > 0 &&
if(_recording && jack->getClipLength() > 0 &&
_barsRecorded == jack->getClipLength() - 1) {
queuePlay();
}