@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.
package/dist/cjs/index.js CHANGED
@@ -180,8 +180,7 @@ export default ${(_b = jsCode.match(jsCodeHead)) == null ? void 0 : _b[1]};
180
180
  for (const path in parameters) {
181
181
  const [paramValue] = parameters[path];
182
182
  if (paramValue !== this.paramValuesCache[path]) {
183
- this.fDSPCode.setParamValue(path, paramValue);
184
- this.paramValuesCache[path] = paramValue;
183
+ this.setParamValue(path, paramValue);
185
184
  }
186
185
  }
187
186
  if (this.fCommunicator.getNewAccDataAvailable()) {
@@ -655,8 +654,7 @@ export default ${(_b = jsCode.match(jsCodeHead)) == null ? void 0 : _b[1]};
655
654
  continue;
656
655
  const [paramValue] = parameters[path];
657
656
  if (paramValue !== this.paramValuesCache[path]) {
658
- this.fDSPCode.setParamValue(path, paramValue);
659
- this.paramValuesCache[path] = paramValue;
657
+ this.setParamValue(path, paramValue);
660
658
  }
661
659
  }
662
660
  if (this.communicator.getNewAccDataAvailable()) {