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
         break;
5355
         break;
5356
 
5356
 
5357
       case kOffGsId:
5357
       case kOffGsId:
5358
-        if( cmDspBool(inst,kOffGsId) )
5358
+        if( !cmDspBool(inst,kOffGsId) )
5359
           cmDspSetSymbol(ctx,inst,kOutGsId,offSymId);
5359
           cmDspSetSymbol(ctx,inst,kOutGsId,offSymId);
5360
         break;
5360
         break;
5361
 
5361
 

Loading…
Cancel
Save