cmDspPgmKrTimeLineLite.c : Added 'meas' to set the start play position from a number box instead of by graphically clicking the score and timeline.

This commit is contained in:
kevin 2016-05-23 18:42:51 -04:00
parent 068cff567b
commit 4d74abd361

View File

@ -118,6 +118,9 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
cmDspInst_t* mi0p = cmDspSysAllocInst(h,"AMeter","In 0", 0); cmDspInst_t* mi0p = cmDspSysAllocInst(h,"AMeter","In 0", 0);
cmDspInst_t* mi1p = cmDspSysAllocInst(h,"AMeter","In 1", 0); cmDspInst_t* mi1p = cmDspSysAllocInst(h,"AMeter","In 1", 0);
cmDspInst_t* meas = cmDspSysAllocInst(h,"Scalar", "Meas", 5, kNumberDuiId, 1.0, 59.0,1.0, 1.0 );
cmDspSysInstallCb( h, meas, "val", scp, "meas", NULL);
cmDspSysInstallCb( h, meas, "val", tlp, "meas", NULL);
//--------------- Preset controls //--------------- Preset controls
cmDspSysNewColumn(h,0); cmDspSysNewColumn(h,0);