Skip to content

Commit

Permalink
Undo example changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rudmin committed Oct 15, 2021
1 parent 1809eca commit 27fd98d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/decoder.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>Recordings</h2>
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);

Expand All @@ -58,8 +58,6 @@ <h2>Recordings</h2>

decoderWorker.onmessage = function(e){

console.log(e.data[0]);

// null means decoder is finished
if (e.data === null) {
wavWorker.postMessage({ command: 'done' });
Expand Down

0 comments on commit 27fd98d

Please sign in to comment.