diff options
Diffstat (limited to 'noatun/modules/winskin/vis/realFFT.cpp')
-rw-r--r-- | noatun/modules/winskin/vis/realFFT.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/winskin/vis/realFFT.cpp b/noatun/modules/winskin/vis/realFFT.cpp index 330280ea..383831b7 100644 --- a/noatun/modules/winskin/vis/realFFT.cpp +++ b/noatun/modules/winskin/vis/realFFT.cpp @@ -20,7 +20,7 @@ RealFFT::RealFFT(int fftlen) { int i; int temp; - int mask; + int tqmask; /* * FFT size is only half the number of data points @@ -43,8 +43,8 @@ RealFFT::RealFFT(int fftlen) { for(i=0;i<Points/2;i++) { temp=0; - for(mask=Points/4;mask>0;mask >>= 1) - temp=(temp >> 1) + (i&mask ? Points/2 : 0); + for(tqmask=Points/4;tqmask>0;tqmask >>= 1) + temp=(temp >> 1) + (i&tqmask ? Points/2 : 0); BitReversed[i]=temp; } |