Add evaluating and using temp and dtemp

as ASRC instance parameters.
This commit is contained in:
Holger Vogt 2021-06-20 16:34:01 +02:00
parent ddcc6f6097
commit c061747f19
1 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,14 @@ ASRCparam(int param, IFvalue *value, GENinstance *fast, IFvalue *select)
here->ASRCreciprocm = value->iValue;
here->ASRCreciprocmGiven = TRUE;
break;
case ASRC_TEMP:
here->ASRCtemp = value->rValue + CONSTCtoK;
here->ASRCtempGiven = TRUE;
break;
case ASRC_DTEMP:
here->ASRCdtemp = value->rValue;
here->ASRCdtempGiven = TRUE;
break;
default:
return(E_BADPARM);
}