Skip to content

Commit

Permalink
build: fix PanUGens to build when NOVA_SIMD=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
danstowell committed Dec 6, 2015
1 parent f1adfcd commit a630e05
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion server/plugins/PanUGens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,17 +743,24 @@ void LinXFade2_Ctor(LinXFade2 *unit)
break;

case calc_BufRate:
#ifdef NOVA_SIMD
if (!(BUFLENGTH & 15))
SETCALC(LinXFade2_next_k_nova);
else
SETCALC(LinXFade2_next_k);
#else
SETCALC(LinXFade2_next_k);
#endif
break;

case calc_ScalarRate:
#ifdef NOVA_SIMD
if (!(BUFLENGTH & 15))
SETCALC(LinXFade2_next_i_nova);
else
SETCALC(LinXFade2_next_i);
#else
SETCALC(LinXFade2_next_i);
#endif
break;
}

Expand Down

0 comments on commit a630e05

Please sign in to comment.