summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/vis
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
commit6db8697910438fd063598f66a73b68d2dcd70a36 (patch)
tree17ad616e4add01128162bad2e8b2aec21ebd18de /noatun/modules/winskin/vis
parentc1ac60f0fc2ba193f7219d25d727dec4fc97fd1b (diff)
downloadtdemultimedia-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/vis')
-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;