Browse Source

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

master
kevin 8 years ago
parent
commit
4d74abd361
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      dsp/cmDspPgmKrTimeLineLite.c

+ 3
- 0
dsp/cmDspPgmKrTimeLineLite.c View File

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

Loading…
Cancel
Save