Browse Source

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

when the received off symbol port value was not equal to 0.
master
kevin 11 years ago
parent
commit
5566cbdae7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dsp/cmDspFx.c

+ 1
- 1
dsp/cmDspFx.c View File

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

Loading…
Cancel
Save