diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:37 +0900 |
commit | 6db8697910438fd063598f66a73b68d2dcd70a36 (patch) | |
tree | 17ad616e4add01128162bad2e8b2aec21ebd18de /noatun/modules/winskin | |
parent | c1ac60f0fc2ba193f7219d25d727dec4fc97fd1b (diff) | |
download | tdemultimedia-6db8697910438fd063598f66a73b68d2dcd70a36.tar.gz tdemultimedia-6db8697910438fd063598f66a73b68d2dcd70a36.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'noatun/modules/winskin')
-rw-r--r-- | noatun/modules/winskin/vis/realFFT.cpp | 8 |
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; |