@grame/faustwasm 0.0.54 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2457,11 +2457,8 @@ this.fAudioMixingHalf: ${this.fAudioMixingHalf}`;
2457
2457
  }
2458
2458
  }
2459
2459
  });
2460
- if (this.fInstance.effectAPI) {
2461
- console.log("effectAPI.getNumInputs() = %d", this.fInstance.effectAPI.getNumInputs(this.fEffect));
2462
- console.log("effectAPI.getNumOutputs() = %d", this.fInstance.effectAPI.getNumOutputs(this.fEffect));
2460
+ if (this.fInstance.effectAPI)
2463
2461
  this.fInstance.effectAPI.compute(this.fEffect, this.fBufferSize, this.fAudioOutputs, this.fAudioOutputs);
2464
- }
2465
2462
  this.updateOutputs();
2466
2463
  if (output !== void 0) {
2467
2464
  for (let chan = 0; chan < Math.min(this.getNumOutputs(), output.length); chan++) {
@@ -2479,11 +2476,7 @@ this.fAudioMixingHalf: ${this.fAudioMixingHalf}`;
2479
2476
  return this.fInstance.voiceAPI.getNumInputs(0);
2480
2477
  }
2481
2478
  getNumOutputs() {
2482
- if (this.fInstance.effectAPI) {
2483
- console.log("effectAPI.getNumOutputs() = %d", this.fInstance.effectAPI.getNumOutputs(this.fEffect));
2484
- console.log("VOICE.getNumOutputs() = %d", this.fInstance.voiceAPI.getNumOutputs(0));
2485
- }
2486
- return this.fInstance.effectAPI ? this.fInstance.effectAPI.getNumOutputs(this.fEffect) : this.fInstance.voiceAPI.getNumOutputs(0);
2479
+ return this.fInstance.voiceAPI.getNumOutputs(0);
2487
2480
  }
2488
2481
  static findPath(o, p) {
2489
2482
  if (typeof o !== "object") {