diff --git a/dsp/cmDspClass.c b/dsp/cmDspClass.c index e7bb63e..83d2c6b 100644 --- a/dsp/cmDspClass.c +++ b/dsp/cmDspClass.c @@ -411,7 +411,7 @@ void cmDspArgSetup( { lp = label; 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 @@ -898,6 +898,14 @@ cmDspRC_t cmDspValueSet( cmDspCtx_t* ctx, cmDspInst_t* inst, unsigned varId, c cmDsvSetDouble(dvp, cmDsvGetDouble(svp)); break; + case kSampleDsvFl: + cmDsvSetSample(dvp, cmDsvGetSample(svp)); + break; + + case kRealDsvFl: + cmDsvSetReal(dvp, cmDsvGetReal(svp)); + break; + case kSymDsvFl: cmDsvSetSymbol(dvp, cmDsvGetSymbol(svp)); break; diff --git a/dsp/cmDspClass.h b/dsp/cmDspClass.h index 636700c..cb7d221 100644 --- a/dsp/cmDspClass.h +++ b/dsp/cmDspClass.h @@ -18,6 +18,7 @@ extern "C" { kThreadFailDspRC, // 6 kNetFailDspRC, // 7 kCsvFailDspRC, // 8 + kDspStoreFailDspRC, kProcFailDspRC, @@ -150,6 +151,7 @@ extern "C" { const cmChar_t* doc; // document string } cmDspVar_t; + typedef struct { const char* label;