From 5566cbdae7df10e47471a907c1a0cdf4bbdf9014 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 28 Sep 2013 12:40:55 -0700 Subject: [PATCH] cmDspFx.c : Fixed bug where GateToSym object set the 'off' symbol event when the received off symbol port value was not equal to 0. --- dsp/cmDspFx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp/cmDspFx.c b/dsp/cmDspFx.c index a41539d..2f3527c 100644 --- a/dsp/cmDspFx.c +++ b/dsp/cmDspFx.c @@ -5355,7 +5355,7 @@ cmDspRC_t _cmDspGateToSym_Recv(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEv break; case kOffGsId: - if( cmDspBool(inst,kOffGsId) ) + if( !cmDspBool(inst,kOffGsId) ) cmDspSetSymbol(ctx,inst,kOutGsId,offSymId); break;