summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/vis/realFFT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/vis/realFFT.cpp')
-rw-r--r--noatun/modules/winskin/vis/realFFT.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/winskin/vis/realFFT.cpp b/noatun/modules/winskin/vis/realFFT.cpp
index 330280ea..4474df2d 100644
--- a/noatun/modules/winskin/vis/realFFT.cpp
+++ b/noatun/modules/winskin/vis/realFFT.cpp
@@ -51,7 +51,7 @@ RealFFT::RealFFT(int fftlen) {
for(i=0;i<Points/2;i++)
{
- register double s,c;
+ double s,c;
s=floor(-32768.0*sin(2*M_PI*i/(Points))+0.5);
c=floor(-32768.0*cos(2*M_PI*i/(Points))+0.5);
if(s>32767.5) s=32767;
@@ -102,8 +102,8 @@ void RealFFT::fft(short* buffer) {
while(A<endptr1)
{
- register short sin=*sptr;
- register short cos=*(sptr+1);
+ short sin=*sptr;
+ short cos=*(sptr+1);
endptr2=B;
while(A<endptr2)
{
@@ -128,7 +128,7 @@ void RealFFT::fft(short* buffer) {
while(br1<=br2)
{
- register long temp1,temp2;
+ long temp1,temp2;
short sin=SinTable[*br1];
short cos=SinTable[*br1+1];
A=buffer+*br1;