cmDspFx.c : Fixed bug where GateToSym object set the 'off' symbol event

when the received off symbol port value was not equal to 0.
This commit is contained in:
kevin 2013-09-28 12:40:55 -07:00
parent 9567d9211d
commit 5566cbdae7

View File

@ -5355,7 +5355,7 @@ cmDspRC_t _cmDspGateToSym_Recv(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEv
break; break;
case kOffGsId: case kOffGsId:
if( cmDspBool(inst,kOffGsId) ) if( !cmDspBool(inst,kOffGsId) )
cmDspSetSymbol(ctx,inst,kOutGsId,offSymId); cmDspSetSymbol(ctx,inst,kOutGsId,offSymId);
break; break;