mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-23 11:38:37 +00:00
remove lastEnd
This commit is contained in:
parent
86a68d78c1
commit
ea1ffca4ae
@ -23,7 +23,6 @@ export class Scheduler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.context.onTrigger) {
|
if (e.context.onTrigger) {
|
||||||
this.lastEnd = end;
|
|
||||||
const ctxTime = e.whole.begin / this.cps + this.startedAt + latency;
|
const ctxTime = e.whole.begin / this.cps + this.startedAt + latency;
|
||||||
e.context.onTrigger(ctxTime, e, this.audioContext.currentTime, this.cps);
|
e.context.onTrigger(ctxTime, e, this.audioContext.currentTime, this.cps);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user