Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Feb 13, 2024
1 parent cf0833b commit 1361ac1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions dist/1.x/ByteBeat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* [email protected].15, license MIT */
/* [email protected].16, license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -785,7 +785,9 @@ class BeatWorkletProcessor extends AudioWorkletProcessor {
}
process(inputs, outputs, parameters) {
this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
if (outputs.length > 0) {
this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
}
return true;
}
}
Expand Down
6 changes: 4 additions & 2 deletions dist/1.x/ByteBeat.module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* [email protected].15, license MIT */
/* [email protected].16, license MIT */
class WrappingStack {
constructor(stackSize = 256) {
let sp = 0;
Expand Down Expand Up @@ -779,7 +779,9 @@ class BeatWorkletProcessor extends AudioWorkletProcessor {
}
process(inputs, outputs, parameters) {
this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
if (outputs.length > 0) {
this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
}
return true;
}
}
Expand Down

0 comments on commit 1361ac1

Please sign in to comment.