mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
parent
303cf406a9
commit
6dfd1e4d17
1 changed files with 9 additions and 7 deletions
|
@ -1144,13 +1144,15 @@ 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
|
||||||
unsigned int realPos=size-(runLeftG>>MASTER_CLOCK_PREC);
|
if (!freelance && stepPlay!=-1) {
|
||||||
if (realPos>=size) realPos=size-1;
|
unsigned int realPos=size-(runLeftG>>MASTER_CLOCK_PREC);
|
||||||
if (song.hilightA>0) {
|
if (realPos>=size) realPos=size-1;
|
||||||
if ((curRow%song.hilightA)==0 && ticks==1) metroTick[realPos]=1;
|
if (song.hilightA>0) {
|
||||||
}
|
if ((curRow%song.hilightA)==0 && ticks==1) metroTick[realPos]=1;
|
||||||
if (song.hilightB>0) {
|
}
|
||||||
if ((curRow%song.hilightB)==0 && ticks==1) metroTick[realPos]=2;
|
if (song.hilightB>0) {
|
||||||
|
if ((curRow%song.hilightB)==0 && ticks==1) metroTick[realPos]=2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (nextTick()) {
|
if (nextTick()) {
|
||||||
if (remainingLoops>0) {
|
if (remainingLoops>0) {
|
||||||
|
|
Loading…
Reference in a new issue