From 0af84b03634c15f3326094c38c9f48cad27702bc Mon Sep 17 00:00:00 2001 From: kpl Date: Wed, 25 Sep 2013 23:44:59 -0700 Subject: [PATCH] cmDspPgmKr.c : Added use of AmSync object. --- dsp/cmDspPgmKr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dsp/cmDspPgmKr.c b/dsp/cmDspPgmKr.c index 861d3aa..b69003b 100644 --- a/dsp/cmDspPgmKr.c +++ b/dsp/cmDspPgmKr.c @@ -1437,6 +1437,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr ) cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 1, r.scFn ); cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 ); cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" ); + cmDspInst_t* asp = cmDspSysAllocInst(h,"AmSync", NULL, 0 ); cmDspInst_t* achan0 = cmDspSysAllocInst(h, "AvailCh", NULL, 1, xfadeChCnt ); cmDspInst_t* achan1 = cmDspSysAllocInst(h, "AvailCh", NULL, 1, xfadeChCnt ); @@ -1720,6 +1721,13 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr ) cmDspSysInstallCb(h, prtb, "sym", sfp, "cmd", NULL ); cmDspSysInstallCb(h, qtb, "sym", sfp, "cmd", NULL ); + // audio-midi sync connections + cmDspSysInstallCb(h, tlp, "albl", asp, "afn", NULL ); + cmDspSysInstallCb(h, tlp, "mlbl", asp, "mfn", NULL ); + cmDspSysInstallCb(h, wtp, "fidx", asp, "asmp",NULL ); + cmDspSysInstallCb(h, mfp, "id", asp, "mid", NULL ); + cmDspSysInstallCb(h, offb,"sym", asp, "sel", NULL ); + cmDspSysInstallCb(h, ws00p, "out", kr00, "wndn", NULL ); // wndSmpCnt->kr cmDspSysInstallCb(h, hf00p, "out", kr00, "hopf", NULL ); // hopFact->kr