Browse Source

cmDspPgmKr.c : Added use of AmSync object.

master
kpl 11 years ago
parent
commit
0af84b0363
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      dsp/cmDspPgmKr.c

+ 8
- 0
dsp/cmDspPgmKr.c View File

@@ -1437,6 +1437,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1437 1437
   cmDspInst_t* sfp  = cmDspSysAllocInst(h,"ScFol",       NULL,  1, r.scFn );
1438 1438
   cmDspInst_t* amp  = cmDspSysAllocInst(h,"ActiveMeas",  NULL,  1, 100 );
1439 1439
   cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod",       NULL,  2, r.modFn, "m1" );
1440
+  cmDspInst_t* asp  = cmDspSysAllocInst(h,"AmSync",      NULL,  0 );
1440 1441
 
1441 1442
   cmDspInst_t* achan0      = cmDspSysAllocInst(h, "AvailCh",     NULL, 1, xfadeChCnt );
1442 1443
   cmDspInst_t* achan1      = cmDspSysAllocInst(h, "AvailCh",     NULL, 1, xfadeChCnt );
@@ -1720,6 +1721,13 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1720 1721
   cmDspSysInstallCb(h, prtb, "sym", sfp, "cmd", NULL );
1721 1722
   cmDspSysInstallCb(h, qtb,  "sym", sfp, "cmd", NULL );
1722 1723
 
1724
+  // audio-midi sync connections
1725
+  cmDspSysInstallCb(h, tlp, "albl", asp, "afn", NULL );
1726
+  cmDspSysInstallCb(h, tlp, "mlbl", asp, "mfn", NULL );
1727
+  cmDspSysInstallCb(h, wtp, "fidx", asp, "asmp",NULL );
1728
+  cmDspSysInstallCb(h, mfp, "id",   asp, "mid", NULL );
1729
+  cmDspSysInstallCb(h, offb,"sym",  asp, "sel", NULL ); 
1730
+
1723 1731
 
1724 1732
   cmDspSysInstallCb(h, ws00p,     "out",   kr00, "wndn", NULL );   // wndSmpCnt->kr
1725 1733
   cmDspSysInstallCb(h, hf00p,     "out",   kr00, "hopf", NULL );   // hopFact->kr

Loading…
Cancel
Save