cmDspClass.h/c: Added cmSampleDsvFl and cmRealDsvFl to cmDspValueSet().
This commit is contained in:
parent
66cf71e419
commit
070962c721
@ -411,7 +411,7 @@ void cmDspArgSetup(
|
|||||||
{
|
{
|
||||||
lp = label;
|
lp = label;
|
||||||
label[labelCharCnt] = 0;
|
label[labelCharCnt] = 0;
|
||||||
snprintf(label,labelCharCnt,"%s-%i",labelPrefix,labelId);
|
snprintf(label,labelCharCnt,"%s-%i",labelPrefix,labelId);
|
||||||
}
|
}
|
||||||
|
|
||||||
// use the symbol table to hold the label string
|
// use the symbol table to hold the label string
|
||||||
@ -898,6 +898,14 @@ cmDspRC_t cmDspValueSet( cmDspCtx_t* ctx, cmDspInst_t* inst, unsigned varId, c
|
|||||||
cmDsvSetDouble(dvp, cmDsvGetDouble(svp));
|
cmDsvSetDouble(dvp, cmDsvGetDouble(svp));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case kSampleDsvFl:
|
||||||
|
cmDsvSetSample(dvp, cmDsvGetSample(svp));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case kRealDsvFl:
|
||||||
|
cmDsvSetReal(dvp, cmDsvGetReal(svp));
|
||||||
|
break;
|
||||||
|
|
||||||
case kSymDsvFl:
|
case kSymDsvFl:
|
||||||
cmDsvSetSymbol(dvp, cmDsvGetSymbol(svp));
|
cmDsvSetSymbol(dvp, cmDsvGetSymbol(svp));
|
||||||
break;
|
break;
|
||||||
|
@ -18,6 +18,7 @@ extern "C" {
|
|||||||
kThreadFailDspRC, // 6
|
kThreadFailDspRC, // 6
|
||||||
kNetFailDspRC, // 7
|
kNetFailDspRC, // 7
|
||||||
kCsvFailDspRC, // 8
|
kCsvFailDspRC, // 8
|
||||||
|
kDspStoreFailDspRC,
|
||||||
|
|
||||||
kProcFailDspRC,
|
kProcFailDspRC,
|
||||||
|
|
||||||
@ -150,6 +151,7 @@ extern "C" {
|
|||||||
const cmChar_t* doc; // document string
|
const cmChar_t* doc; // document string
|
||||||
} cmDspVar_t;
|
} cmDspVar_t;
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
const char* label;
|
const char* label;
|
||||||
|
Loading…
Reference in New Issue
Block a user