Add evaluating and using temp and dtemp
as ASRC instance parameters.
This commit is contained in:
parent
ddcc6f6097
commit
c061747f19
|
|
@ -46,6 +46,14 @@ ASRCparam(int param, IFvalue *value, GENinstance *fast, IFvalue *select)
|
||||||
here->ASRCreciprocm = value->iValue;
|
here->ASRCreciprocm = value->iValue;
|
||||||
here->ASRCreciprocmGiven = TRUE;
|
here->ASRCreciprocmGiven = TRUE;
|
||||||
break;
|
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:
|
default:
|
||||||
return(E_BADPARM);
|
return(E_BADPARM);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue