From feb6e71245e8fc726e500db23a047c1275e4a0b7 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 1 Nov 2013 18:33:03 -0700 Subject: [PATCH] cmDspFx.c : Added equal power cross fade to xfader object. --- dsp/cmDspFx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp/cmDspFx.c b/dsp/cmDspFx.c index 945494d..1ad2689 100644 --- a/dsp/cmDspFx.c +++ b/dsp/cmDspFx.c @@ -1550,7 +1550,7 @@ cmDspRC_t _cmDspXfaderExec(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_t* unsigned n = cmDspAudioBufSmpCount(ctx,inst,p->outBaseXfId+i,0); cmSample_t* op = cmDspAudioBuf(ctx,inst,p->outBaseXfId+i,0); const cmSample_t* ip = cmDspAudioBuf(ctx,inst,p->inBaseXfId+i,0); - cmSample_t gain = (cmSample_t)p->xfdp->chArray[i].gain; + cmSample_t gain = (cmSample_t)p->xfdp->chArray[i].ep_gain; if( op != NULL ) {