From 27fd98d94354ded520dddd0dfc5d8127b5d3267c Mon Sep 17 00:00:00 2001 From: Christopher Rudmin Date: Fri, 15 Oct 2021 15:05:45 -0400 Subject: [PATCH] Undo example changes --- example/decoder.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/example/decoder.html b/example/decoder.html index 3eb10141..c003cca9 100644 --- a/example/decoder.html +++ b/example/decoder.html @@ -40,7 +40,7 @@

Recordings

function decodeOgg(arrayBuffer){ var typedArray = new Uint8Array(arrayBuffer); - var decoderWorker = new Worker('../dist-unminified/decoderWorker.js'); + var decoderWorker = new Worker('../dist/decoderWorker.min.js'); var wavWorker = new Worker('../dist/waveWorker.min.js'); var desiredSampleRate = parseInt(sampleRate.value,10); @@ -58,8 +58,6 @@

Recordings

decoderWorker.onmessage = function(e){ - console.log(e.data[0]); - // null means decoder is finished if (e.data === null) { wavWorker.postMessage({ command: 'done' });