소스 검색

cmDspFx.c : Added equal power cross fade to xfader object.

master
kevin 10 년 전
부모
커밋
feb6e71245
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      dsp/cmDspFx.c

+ 1
- 1
dsp/cmDspFx.c 파일 보기

@@ -1550,7 +1550,7 @@ cmDspRC_t _cmDspXfaderExec(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_t*
1550 1550
     unsigned          n  = cmDspAudioBufSmpCount(ctx,inst,p->outBaseXfId+i,0);
1551 1551
     cmSample_t*       op = cmDspAudioBuf(ctx,inst,p->outBaseXfId+i,0);
1552 1552
     const cmSample_t* ip = cmDspAudioBuf(ctx,inst,p->inBaseXfId+i,0);
1553
-    cmSample_t        gain = (cmSample_t)p->xfdp->chArray[i].gain;
1553
+    cmSample_t        gain = (cmSample_t)p->xfdp->chArray[i].ep_gain;
1554 1554
     
1555 1555
     if( op != NULL )
1556 1556
     {

Loading…
취소
저장