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' });