bug fixes

This commit is contained in:
znetsixe
2025-11-30 20:13:21 +01:00
parent c81ee1b470
commit 7efd3b0a07
2 changed files with 17 additions and 18 deletions

View File

@@ -218,11 +218,11 @@ class nodeClass {
this.source.childRegistrationUtils.registerChild(childObj.source ,msg.positionVsParent);
break;
case 'calibratePredictedVolume':
const injectedVol = isFinite(toFloat(msg.payload));
const injectedVol = parseFloat(msg.payload);
this.source.calibratePredictedVolume(injectedVol);
break;
case 'calibratePredictedLevel':
const injectedLevel = isFinite(toFloat(msg.payload));
const injectedLevel = parseFloat(msg.payload);
this.source.calibratePredictedLevel(injectedLevel);
break;
case 'q_in': {