Changed clock to use performance.now()

This commit is contained in:
2023-11-24 22:22:17 +02:00
parent f3ddb39ab6
commit 69c24f6a15
4 changed files with 21 additions and 45 deletions

View File

@ -125,7 +125,7 @@ export class Editor {
// ================================================================================
this.audioContext = new AudioContext({ latencyHint: "playback" });
this.clock = new Clock(this, this.audioContext);
this.clock = new Clock(this);
// ================================================================================
// User API