From f811129e09fab9921deac0a72acce684a3d9495d Mon Sep 17 00:00:00 2001 From: James Gentes Date: Sun, 26 May 2024 17:07:28 -0700 Subject: [PATCH] fix for https://github.com/jgentes/mixpoint/issues/44 --- app/api/handlers/audioEvents.client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/handlers/audioEvents.client.ts b/app/api/handlers/audioEvents.client.ts index df7b579..a064ac2 100644 --- a/app/api/handlers/audioEvents.client.ts +++ b/app/api/handlers/audioEvents.client.ts @@ -127,7 +127,7 @@ const audioEvents = { // Update time let time = audioState[trackId]?.time - if (!time) { + if (!time || !Number.isFinite(time)) { time = mixpointTime || regionsPlugin.getRegions()[0]?.start || 0 audioState[trackId].time = time }