Skip to content
Browse files

fix for CALC_NEXT_GRAIN_AMP

Signed-off-by: Tim Blechmann <tim@klingt.org>

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9918 a380766d-ff14-0410-b294-a243070f3f08
  • Loading branch information...
1 parent 23a6c07 commit 9a09f0326c9d7c2ee5cdd33baab2b42b9c4ec39d Tim Blechmann committed Mar 3, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 common/Source/plugins/GrainUGens.cpp
View
7 common/Source/plugins/GrainUGens.cpp
@@ -436,10 +436,11 @@ inline double sc_gloop(double in, double hi)
break; \
#define CALC_NEXT_GRAIN_AMP \
- if(grain->winType < 0.) \
+ if(grain->winType < 0.) { \
CALC_NEXT_GRAIN_AMP_INTERNAL; \
- else \
- CALC_NEXT_GRAIN_AMP_CUSTOM;
+ } else { \
+ CALC_NEXT_GRAIN_AMP_CUSTOM; \
+ }
#define GET_GRAIN_AMP_PARAMS \

0 comments on commit 9a09f03

Please sign in to comment.
Something went wrong with that request. Please try again.