summaryrefslogtreecommitdiffstats
path: root/noatun
diff options
context:
space:
mode:
Diffstat (limited to 'noatun')
-rw-r--r--noatun/library/conversion.cpp2
-rw-r--r--noatun/library/noatunarts/Equalizer_impl.cpp12
-rw-r--r--noatun/library/noatunarts/StereoVolumeControl_impl.cpp12
-rw-r--r--noatun/modules/kjofol-skin/kjwidget.cpp2
-rw-r--r--noatun/modules/kjofol-skin/kjwidget.h2
-rw-r--r--noatun/modules/winskin/vis/realFFT.cpp8
6 files changed, 19 insertions, 19 deletions
diff --git a/noatun/library/conversion.cpp b/noatun/library/conversion.cpp
index 791b5554..dbbf5b09 100644
--- a/noatun/library/conversion.cpp
+++ b/noatun/library/conversion.cpp
@@ -136,7 +136,7 @@ void swapEndian(unsigned long length, char *buffer)
#else
while (length--)
{
- register char c=*(buffer+1);
+ char c=*(buffer+1);
*(buffer+1)=*buffer;
*(buffer)=c;
buffer++; buffer++;
diff --git a/noatun/library/noatunarts/Equalizer_impl.cpp b/noatun/library/noatunarts/Equalizer_impl.cpp
index 9914842a..552c3f91 100644
--- a/noatun/library/noatunarts/Equalizer_impl.cpp
+++ b/noatun/library/noatunarts/Equalizer_impl.cpp
@@ -209,11 +209,11 @@ public:
mBufferLength = samples;
}
- register float *buffer=mBuffer;
- register float *bufferEnd=buffer+samples;
+ float *buffer=mBuffer;
+ float *bufferEnd=buffer+samples;
while (level<end)
{
- register float *buffIter, *outIter;
+ float *buffIter, *outIter;
float levelAndIntensity=*level * intensity;
BandPass(leftBand, outleft, buffer, samples);
@@ -415,11 +415,11 @@ public:
float *end=&mLevels.back();
float intensity=1.0/(float)mLevels.size();
- register float *buffer=new float[samples];
- register float *bufferEnd=buffer+samples;
+ float *buffer=new float[samples];
+ float *bufferEnd=buffer+samples;
while (level<end)
{
- register float *buffIter, *outIter;
+ float *buffIter, *outIter;
float levelAndIntensity=*level * intensity;
BandPassSSE(leftBand, outleft, buffer, samples);
diff --git a/noatun/library/noatunarts/StereoVolumeControl_impl.cpp b/noatun/library/noatunarts/StereoVolumeControl_impl.cpp
index 88f33c8f..c0019ede 100644
--- a/noatun/library/noatunarts/StereoVolumeControl_impl.cpp
+++ b/noatun/library/noatunarts/StereoVolumeControl_impl.cpp
@@ -28,16 +28,16 @@ public:
void calculateBlock(unsigned long samples)
{
- register float *left=inleft;
- register float *right=inright;
- register float *oleft=outleft;
- register float *oright=outright;
+ float *left=inleft;
+ float *right=inright;
+ float *oleft=outleft;
+ float *oright=outright;
level = *right + *left;
- register float p=mPercent;
+ float p=mPercent;
- register float *end=left+samples;
+ float *end=left+samples;
while (left<end)
{
diff --git a/noatun/modules/kjofol-skin/kjwidget.cpp b/noatun/modules/kjofol-skin/kjwidget.cpp
index 737032cf..25aa2d48 100644
--- a/noatun/modules/kjofol-skin/kjwidget.cpp
+++ b/noatun/modules/kjofol-skin/kjwidget.cpp
@@ -18,7 +18,7 @@ KJWidget::KJWidget(KJLoader *p) : mParent(p)
{
}
-TQBitmap KJWidget::getMask(const TQImage &_rect, register TQRgb transparent)
+TQBitmap KJWidget::getMask(const TQImage &_rect, TQRgb transparent)
{
TQImage result(_rect.width(), _rect.height(), 1,2, TQImage::LittleEndian);
result.setColor(1, tqRgb(0,0,0));
diff --git a/noatun/modules/kjofol-skin/kjwidget.h b/noatun/modules/kjofol-skin/kjwidget.h
index f64d2226..5f1edcac 100644
--- a/noatun/modules/kjofol-skin/kjwidget.h
+++ b/noatun/modules/kjofol-skin/kjwidget.h
@@ -31,7 +31,7 @@ public:
virtual TQString tip() { return 0; }
public:
- static TQBitmap getMask(const TQImage &color, register TQRgb=tqRgb(255,0,255));
+ static TQBitmap getMask(const TQImage &color, TQRgb=tqRgb(255,0,255));
protected:
const TQString &backgroundPressed(const TQString &bmp) const;
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;