Sfoglia il codice sorgente

cmDspPgm.c Added printer to cmDspSysPgm_AvailCh().

master
kevin 12 anni fa
parent
commit
ac75b45da3
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1
    2
      dsp/cmDspPgm.c

+ 1
- 2
dsp/cmDspPgm.c Vedi File

@@ -2332,7 +2332,7 @@ cmDspRC_t _cmDspSysPgm_AvailCh( cmDspSysH_t h, void** userPtrPtr )
2332 2332
   cmDspInst_t* fwtp  =  cmDspSysAllocInst( h, "WaveTable", NULL,   5, ((int)cmDspSysSampleRate(h)), 1, fn, -1, 7000000 );
2333 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 2337
   cmDspInst_t* ao0p = cmDspSysAllocInst(h,"AudioOut",  NULL,   1, 0 );
2338 2338
   cmDspInst_t* ao1p = cmDspSysAllocInst(h,"AudioOut",  NULL,   1, 1 );
@@ -2358,7 +2358,6 @@ cmDspRC_t _cmDspSysPgm_AvailCh( cmDspSysH_t h, void** userPtrPtr )
2358 2358
   cmDspSysInstallCb(h, achp, "gate-1",  fad0, "gate-1", NULL );
2359 2359
   cmDspSysInstallCb(h, fad0, "state-1", achp, "dis-1",   NULL );
2360 2360
 
2361
-  cmDspSysInstallCb(h, fad0, "state-0", prp, "in", NULL);
2362 2361
 
2363 2362
   return kOkDspRC;
2364 2363
 

Loading…
Annulla
Salva