remove lastEnd
This commit is contained in:
parent
86a68d78c1
commit
ea1ffca4ae
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue