Browse Source

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

master
Kevin Larke 9 years ago
parent
commit
7fbe7ba4ae
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      dsp/cmDspPgmKr.c

+ 4
- 1
dsp/cmDspPgmKr.c View File

@@ -39,6 +39,7 @@ typedef struct
39 39
   const cmChar_t* tlFn;
40 40
   const cmChar_t* tlPrefixPath;
41 41
   const cmChar_t* scFn;
42
+  const cmChar_t* tksbFn;
42 43
   const cmChar_t* modFn;
43 44
   const cmChar_t* measFn;
44 45
   const cmChar_t* recordDir;
@@ -56,12 +57,13 @@ cmDspRC_t krLoadRsrc(cmDspSysH_t h, cmErr_t* err, krRsrc_t* r)
56 57
   cmDspRsrcString(h,&r->tlFn,        "timeLineFn",   NULL);
57 58
   cmDspRsrcString(h,&r->tlPrefixPath,"tlPrefixPath", NULL);
58 59
   cmDspRsrcString(h,&r->scFn,        "scoreFn",      NULL);
60
+  cmDspRsrcString(h,&r->tksbFn,      "tksbFn",       NULL);
59 61
   cmDspRsrcString(h,&r->modFn,       "modFn",        NULL);
60 62
   cmDspRsrcString(h,&r->measFn,      "measFn",       NULL);
61 63
   cmDspRsrcString(h,&r->recordDir,   "recordDir",    NULL);
62 64
   cmDspRsrcString(h,&r->midiDevice,  "midiDevice",   NULL);
63 65
   cmDspRsrcString(h,&r->midiOutPort, "midiOutPort",  NULL);
64
-  cmDspRsrcString(h,&r->midiOutPort2, "midiOutPort2", NULL);
66
+  cmDspRsrcString(h,&r->midiOutPort2,"midiOutPort2", NULL);
65 67
 
66 68
   if((rc = cmDspSysLastRC(h)) != kOkDspRC )
67 69
     cmErrMsg(err,rc,"A KR DSP resource load failed.");
@@ -481,6 +483,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
481 483
 
482 484
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
483 485
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );
486
+  /*cmDspInst_t* tksb =*/ cmDspSysAllocInst(h,"TakeSeqBldr", "tk",  1, r.tksbFn );
484 487
   cmDspInst_t* php  = cmDspSysAllocInst(h,"Phasor",      NULL,  1, cmDspSysSampleRate(h) );
485 488
   cmDspInst_t* wtp  = cmDspSysAllocInst(h,"WaveTable",   NULL,  4, wtSmpCnt, wtInitMode, NULL, wtLoopCnt );
486 489
   cmDspInst_t* pts  = cmDspSysAllocInst(h,"PortToSym",   NULL,  2, "on", "off" );

Loading…
Cancel
Save