What a mess

This commit is contained in:
Vanilagy
2025-09-03 21:30:38 +02:00
parent 69fc996c17
commit a00386d402
+1 -2
View File
@@ -2,7 +2,6 @@ import {
ALL_FORMATS,
AudioBufferSink,
BlobSource,
BufferSource,
CanvasSink,
Input,
UrlSource,
@@ -92,7 +91,7 @@ const initMediaPlayer = async (resource: File | string) => {
// Create an Input from the resource
const source = resource instanceof File
? new BufferSource(await resource.arrayBuffer())// new BlobSource(resource)
? new BlobSource(resource)
: new UrlSource(resource);
const input = new Input({
source,