Parcourir la 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 il y a 8 ans
Parent
révision
4d74abd361
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      dsp/cmDspPgmKrTimeLineLite.c

+ 3
- 0
dsp/cmDspPgmKrTimeLineLite.c Voir le fichier

@@ -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);

Chargement…
Annuler
Enregistrer