瀏覽代碼

cmDspPgm.c Added printer to cmDspSysPgm_AvailCh().

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

+ 1
- 2
dsp/cmDspPgm.c 查看文件

2332
   cmDspInst_t* fwtp  =  cmDspSysAllocInst( h, "WaveTable", NULL,   5, ((int)cmDspSysSampleRate(h)), 1, fn, -1, 7000000 );
2332
   cmDspInst_t* fwtp  =  cmDspSysAllocInst( h, "WaveTable", NULL,   5, ((int)cmDspSysSampleRate(h)), 1, fn, -1, 7000000 );
2333
   cmDspInst_t* fad0  =  cmDspSysAllocInst( h, "Xfader",    NULL,   3, xfadeChCnt,  xfadeMs, xfadeInitFl ); 
2333
   cmDspInst_t* fad0  =  cmDspSysAllocInst( h, "Xfader",    NULL,   3, xfadeChCnt,  xfadeMs, xfadeInitFl ); 
2334
 
2334
 
2335
-  cmDspInst_t*  prp  = cmDspSysAllocInst(      h, "Printer",  NULL, 1, ">" );
2335
+  cmDspInst_t*  prp  = cmDspSysAllocInst(  h, "Printer",  NULL, 1, ">" );
2336
 
2336
 
2337
   cmDspInst_t* ao0p = cmDspSysAllocInst(h,"AudioOut",  NULL,   1, 0 );
2337
   cmDspInst_t* ao0p = cmDspSysAllocInst(h,"AudioOut",  NULL,   1, 0 );
2338
   cmDspInst_t* ao1p = cmDspSysAllocInst(h,"AudioOut",  NULL,   1, 1 );
2338
   cmDspInst_t* ao1p = cmDspSysAllocInst(h,"AudioOut",  NULL,   1, 1 );
2358
   cmDspSysInstallCb(h, achp, "gate-1",  fad0, "gate-1", NULL );
2358
   cmDspSysInstallCb(h, achp, "gate-1",  fad0, "gate-1", NULL );
2359
   cmDspSysInstallCb(h, fad0, "state-1", achp, "dis-1",   NULL );
2359
   cmDspSysInstallCb(h, fad0, "state-1", achp, "dis-1",   NULL );
2360
 
2360
 
2361
-  cmDspSysInstallCb(h, fad0, "state-0", prp, "in", NULL);
2362
 
2361
 
2363
   return kOkDspRC;
2362
   return kOkDspRC;
2364
 
2363
 

Loading…
取消
儲存