File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- /* ByteBeat@1.0.15 , license MIT */
1
+ /* ByteBeat@1.0.16 , license MIT */
2
2
( function ( global , factory ) {
3
3
typeof exports === 'object' && typeof module !== 'undefined' ? module . exports = factory ( ) :
4
4
typeof define === 'function' && define . amd ? define ( factory ) :
@@ -785,7 +785,9 @@ class BeatWorkletProcessor extends AudioWorkletProcessor {
785
785
}
786
786
787
787
process(inputs, outputs, parameters) {
788
- this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
788
+ if (outputs.length > 0) {
789
+ this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
790
+ }
789
791
return true;
790
792
}
791
793
}
Original file line number Diff line number Diff line change 1
- /* ByteBeat@1.0.15 , license MIT */
1
+ /* ByteBeat@1.0.16 , license MIT */
2
2
class WrappingStack {
3
3
constructor ( stackSize = 256 ) {
4
4
let sp = 0 ;
@@ -779,7 +779,9 @@ class BeatWorkletProcessor extends AudioWorkletProcessor {
779
779
}
780
780
781
781
process(inputs, outputs, parameters) {
782
- this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
782
+ if (outputs.length > 0) {
783
+ this.byteBeat.process(outputs[0][0].length, outputs[0][0], outputs[0][1]);
784
+ }
783
785
return true;
784
786
}
785
787
}
You can’t perform that action at this time.
0 commit comments