Quellcode durchsuchen

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 vor 8 Jahren
Ursprung
Commit
4d74abd361
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3
    0
      dsp/cmDspPgmKrTimeLineLite.c

+ 3
- 0
dsp/cmDspPgmKrTimeLineLite.c Datei anzeigen

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

Laden…
Abbrechen
Speichern