mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
fix metronome in low-latency mode
This commit is contained in:
parent
2ea9114168
commit
28af57c4f0
1 changed files with 1 additions and 1 deletions
|
@ -1846,7 +1846,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
|
||||||
// 2. check whether we gonna tick
|
// 2. check whether we gonna tick
|
||||||
if (cycles<=0) {
|
if (cycles<=0) {
|
||||||
// we have to tick
|
// we have to tick
|
||||||
if (!freelance && stepPlay!=-1) {
|
if (!freelance && stepPlay!=-1 && subticks==1) {
|
||||||
unsigned int realPos=size-(runLeftG>>MASTER_CLOCK_PREC);
|
unsigned int realPos=size-(runLeftG>>MASTER_CLOCK_PREC);
|
||||||
if (realPos>=size) realPos=size-1;
|
if (realPos>=size) realPos=size-1;
|
||||||
if (song.hilightA>0) {
|
if (song.hilightA>0) {
|
||||||
|
|
Loading…
Reference in a new issue