cmDspPgmKr.c : Added 'tksbFn' to the time-line program resource file.

This commit is contained in:
Kevin Larke 2015-02-25 10:40:14 -08:00
parent 5510595568
commit 7fbe7ba4ae

View File

@ -39,6 +39,7 @@ typedef struct
const cmChar_t* tlFn;
const cmChar_t* tlPrefixPath;
const cmChar_t* scFn;
const cmChar_t* tksbFn;
const cmChar_t* modFn;
const cmChar_t* measFn;
const cmChar_t* recordDir;
@ -56,6 +57,7 @@ cmDspRC_t krLoadRsrc(cmDspSysH_t h, cmErr_t* err, krRsrc_t* r)
cmDspRsrcString(h,&r->tlFn, "timeLineFn", NULL);
cmDspRsrcString(h,&r->tlPrefixPath,"tlPrefixPath", NULL);
cmDspRsrcString(h,&r->scFn, "scoreFn", NULL);
cmDspRsrcString(h,&r->tksbFn, "tksbFn", NULL);
cmDspRsrcString(h,&r->modFn, "modFn", NULL);
cmDspRsrcString(h,&r->measFn, "measFn", NULL);
cmDspRsrcString(h,&r->recordDir, "recordDir", NULL);
@ -481,6 +483,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
cmDspInst_t* tlp = cmDspSysAllocInst(h,"TimeLine", "tl", 2, r.tlFn, r.tlPrefixPath );
cmDspInst_t* scp = cmDspSysAllocInst(h,"Score", "sc", 1, r.scFn );
/*cmDspInst_t* tksb =*/ cmDspSysAllocInst(h,"TakeSeqBldr", "tk", 1, r.tksbFn );
cmDspInst_t* php = cmDspSysAllocInst(h,"Phasor", NULL, 1, cmDspSysSampleRate(h) );
cmDspInst_t* wtp = cmDspSysAllocInst(h,"WaveTable", NULL, 4, wtSmpCnt, wtInitMode, NULL, wtLoopCnt );
cmDspInst_t* pts = cmDspSysAllocInst(h,"PortToSym", NULL, 2, "on", "off" );