浏览代码

cmProc2.c : Removed use of oSpecVa from cmDspSpecDist.

master
kevin 9 年前
父节点
当前提交
2f95f6f329
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      cmProc2.c

+ 4
- 4
cmProc2.c 查看文件

@@ -5691,7 +5691,7 @@ cmRC_t      cmExpanderInit( cmExpander* p,
5691 5691
     p->envV[atkN+i] = p->rlsLvl + (G*i/rlsN);
5692 5692
   }
5693 5693
 
5694
-  printf("rmsN:%i atkN:%i rlsN:%i thr:%f %f rls:%f %f\n",p->rmsN,atkN,rlsN,threshDb,p->threshLvl,rlsDb,p->rlsLvl);
5694
+  //printf("rmsN:%i atkN:%i rlsN:%i thr:%f %f rls:%f %f\n",p->rmsN,atkN,rlsN,threshDb,p->threshLvl,rlsDb,p->rlsLvl);
5695 5695
 
5696 5696
   //for(i=0; i<p->envN; ++i)
5697 5697
   //  printf("%i %f\n",i,p->envV[i]);
@@ -5941,7 +5941,7 @@ cmSpecDist_t* cmSpecDistAlloc( cmCtx* ctx,cmSpecDist_t* ap, unsigned procSmpCnt,
5941 5941
   cmSpecDist_t* p = cmObjAlloc( cmSpecDist_t, ctx, ap );
5942 5942
 
5943 5943
   //p->iSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5944
-  p->oSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5944
+  //p->oSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5945 5945
 
5946 5946
   if( procSmpCnt != 0 )
5947 5947
   {
@@ -5962,7 +5962,7 @@ cmRC_t cmSpecDistFree( cmSpecDist_t** pp )
5962 5962
   
5963 5963
   cmSpecDistFinal(p);
5964 5964
   //cmVectArrayFree(&p->iSpecVa);
5965
-  cmVectArrayFree(&p->oSpecVa);
5965
+  //cmVectArrayFree(&p->oSpecVa);
5966 5966
   cmMemPtrFree(&p->hzV);
5967 5967
   cmMemPtrFree(&p->iSpecM);
5968 5968
   cmMemPtrFree(&p->oSpecM);
@@ -6086,7 +6086,7 @@ cmRC_t cmSpecDistFinal(cmSpecDist_t* p )
6086 6086
   cmRC_t rc = cmOkRC;
6087 6087
 
6088 6088
   //cmVectArrayWrite(p->iSpecVa, "/home/kevin/temp/frqtrk/iSpec.va");
6089
-  cmVectArrayWrite(p->oSpecVa, "/home/kevin/temp/expand/oSpec.va");
6089
+  //cmVectArrayWrite(p->oSpecVa, "/home/kevin/temp/expand/oSpec.va");
6090 6090
 
6091 6091
   cmPvAnlFree(&p->pva);
6092 6092
   cmPvSynFree(&p->pvs);

正在加载...
取消
保存