diff options
Diffstat (limited to 'noatun/modules/winskin/vis')
-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 383831b7..330280ea 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 tqmask; + int mask; /* * 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(tqmask=Points/4;tqmask>0;tqmask >>= 1) - temp=(temp >> 1) + (i&tqmask ? Points/2 : 0); + for(mask=Points/4;mask>0;mask >>= 1) + temp=(temp >> 1) + (i&mask ? Points/2 : 0); BitReversed[i]=temp; } |