fix metronome in low-latency mode

This commit is contained in:
tildearrow 2022-04-26 00:22:49 -05:00
parent 2ea9114168
commit 28af57c4f0
1 changed files with 1 additions and 1 deletions

View File

@ -1846,7 +1846,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
// 2. check whether we gonna tick
if (cycles<=0) {
// we have to tick
if (!freelance && stepPlay!=-1) {
if (!freelance && stepPlay!=-1 && subticks==1) {
unsigned int realPos=size-(runLeftG>>MASTER_CLOCK_PREC);
if (realPos>=size) realPos=size-1;
if (song.hilightA>0) {