瀏覽代碼

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

master
kevin 11 年之前
父節點
當前提交
031210c7e9
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      dsp/cmDspPgmKr.c

+ 3
- 1
dsp/cmDspPgmKr.c 查看文件

98
   double          cmpWndMs     = 200.0;
98
   double          cmpWndMs     = 200.0;
99
 
99
 
100
   double          recdPlayInitAllocSecs    = 10.0;
100
   double          recdPlayInitAllocSecs    = 10.0;
101
+  double          recdPlayMaxLaSecs        = 2.0;
102
+  double          recdPlayCurLaSecs        = 0.1;
101
   double          recdPlayFadeRateDbPerSec = 4.0;
103
   double          recdPlayFadeRateDbPerSec = 4.0;
102
 
104
 
103
   memset(&r,0,sizeof(r));
105
   memset(&r,0,sizeof(r));
123
   cmDspInst_t* mop  = cmDspSysAllocInst(h,"MidiOut",     NULL,  2, r.midiDevice,r.midiOutPort);
125
   cmDspInst_t* mop  = cmDspSysAllocInst(h,"MidiOut",     NULL,  2, r.midiDevice,r.midiOutPort);
124
   cmDspInst_t* sfp  = cmDspSysAllocInst(h,"ScFol",       NULL,  1, r.scFn );
126
   cmDspInst_t* sfp  = cmDspSysAllocInst(h,"ScFol",       NULL,  1, r.scFn );
125
   cmDspInst_t* amp  = cmDspSysAllocInst(h,"ActiveMeas",  NULL,  1, 100 );
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
   cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod",       NULL,  2, r.modFn, "m1" );
129
   cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod",       NULL,  2, r.modFn, "m1" );
128
   cmDspInst_t* asp  = cmDspSysAllocInst(h,"AmSync",      NULL,  0 );
130
   cmDspInst_t* asp  = cmDspSysAllocInst(h,"AmSync",      NULL,  0 );
129
 
131
 

Loading…
取消
儲存