From 8671a1ea2c459c7f1492eb860e9df98a27d7e8c1 Mon Sep 17 00:00:00 2001 From: dazzatronus Date: Mon, 13 Apr 2026 09:24:03 +1000 Subject: [PATCH] fix: remove incorrect division from clip length calculation in audio player --- src/components/canvas/players/audio-player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/canvas/players/audio-player.ts b/src/components/canvas/players/audio-player.ts index aa3ca8f4..1ff7672a 100644 --- a/src/components/canvas/players/audio-player.ts +++ b/src/components/canvas/players/audio-player.ts @@ -167,7 +167,7 @@ export class AudioPlayer extends Player { return volume ?? 1; } - const clipLength = this.getLength() / 1000; + const clipLength = this.getLength(); const fade = Math.min(2, clipLength / 2); if (effect === "fadeIn") {