@grame/faustwasm 0.9.2 → 0.9.3

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.
@@ -150,8 +150,7 @@ var getFaustAudioWorkletProcessor = (dependencies, faustData, register = true) =
150
150
  for (const path in parameters) {
151
151
  const [paramValue] = parameters[path];
152
152
  if (paramValue !== this.paramValuesCache[path]) {
153
- this.fDSPCode.setParamValue(path, paramValue);
154
- this.paramValuesCache[path] = paramValue;
153
+ this.setParamValue(path, paramValue);
155
154
  }
156
155
  }
157
156
  if (this.fCommunicator.getNewAccDataAvailable()) {
@@ -625,8 +624,7 @@ var getFaustFFTAudioWorkletProcessor = (dependencies, faustData, register = true
625
624
  continue;
626
625
  const [paramValue] = parameters[path];
627
626
  if (paramValue !== this.paramValuesCache[path]) {
628
- this.fDSPCode.setParamValue(path, paramValue);
629
- this.paramValuesCache[path] = paramValue;
627
+ this.setParamValue(path, paramValue);
630
628
  }
631
629
  }
632
630
  if (this.communicator.getNewAccDataAvailable()) {