From 049897fb07e85ad90c3900fdb115bcd929e005fc Mon Sep 17 00:00:00 2001 From: neru Date: Sat, 17 Jan 2026 20:54:30 -0300 Subject: [PATCH] fix: undo changes --- src/modules/audioStreams.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/audioStreams.ts b/src/modules/audioStreams.ts index 3feace1..0e7a9bb 100644 --- a/src/modules/audioStreams.ts +++ b/src/modules/audioStreams.ts @@ -98,9 +98,7 @@ export class MixedStream { stop: () => void; } { let stopCallback: () => void = () => { }; - const completion = new Promise((resolve) => { - if (source.readableLength <= 0) { return; } - + const completion = new Promise((resolve) => { if (this.player.state.status === AudioPlayerStatus.Idle) { this.setupPipeline(); }