Skip to content

Commit

Permalink
Use createScriptProcessor rather than createJavaScriptNode for firefo…
Browse files Browse the repository at this point in the history
…x compatibility.
  • Loading branch information
kenianbei committed Nov 11, 2013
1 parent 092d5f6 commit 4c338aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var config = cfg || {};
var bufferLen = config.bufferLen || 4096;
this.context = source.context;
this.node = this.context.createJavaScriptNode(bufferLen, 2, 2);
this.node = this.context.createScriptProcessor(bufferLen, 2, 2);
var worker = new Worker(config.workerPath || WORKER_PATH);
worker.postMessage({
command: 'init',
Expand Down

0 comments on commit 4c338aa

Please sign in to comment.