Pārlūkot izejas kodu

cmDspPgmKr.c : Added look-head parameters for cmDspRecdPlay object.

master
kevin 11 gadus atpakaļ
vecāks
revīzija
031210c7e9
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3
    1
      dsp/cmDspPgmKr.c

+ 3
- 1
dsp/cmDspPgmKr.c Parādīt failu

@@ -98,6 +98,8 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
98 98
   double          cmpWndMs     = 200.0;
99 99
 
100 100
   double          recdPlayInitAllocSecs    = 10.0;
101
+  double          recdPlayMaxLaSecs        = 2.0;
102
+  double          recdPlayCurLaSecs        = 0.1;
101 103
   double          recdPlayFadeRateDbPerSec = 4.0;
102 104
 
103 105
   memset(&r,0,sizeof(r));
@@ -123,7 +125,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
123 125
   cmDspInst_t* mop  = cmDspSysAllocInst(h,"MidiOut",     NULL,  2, r.midiDevice,r.midiOutPort);
124 126
   cmDspInst_t* sfp  = cmDspSysAllocInst(h,"ScFol",       NULL,  1, r.scFn );
125 127
   cmDspInst_t* amp  = cmDspSysAllocInst(h,"ActiveMeas",  NULL,  1, 100 );
126
-  cmDspInst_t* rpp  = cmDspSysAllocInst(h,"RecdPlay",    NULL,  4, 2, r.scFn, recdPlayInitAllocSecs, recdPlayFadeRateDbPerSec );
128
+  cmDspInst_t* rpp  = cmDspSysAllocInst(h,"RecdPlay",    NULL,  4, 2, r.scFn, recdPlayInitAllocSecs, recdPlayMaxLaSecs, recdPlayCurLaSecs, recdPlayFadeRateDbPerSec );
127 129
   cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod",       NULL,  2, r.modFn, "m1" );
128 130
   cmDspInst_t* asp  = cmDspSysAllocInst(h,"AmSync",      NULL,  0 );
129 131
 

Notiek ielāde…
Atcelt
Saglabāt