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 23:52:44 +0900 |
commit | 0c9e076a4ab62782b73ac09fb45fd9da0df19aec (patch) | |
tree | 93c54de885a10fdfb44b39fee0972aa9b394e8d9 /noatun/library/noatunarts | |
parent | e51ec3eaa1902878a55ad0ca8ed50f6c5662d352 (diff) | |
download | tdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.tar.gz tdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6db8697910438fd063598f66a73b68d2dcd70a36)
Diffstat (limited to 'noatun/library/noatunarts')
-rw-r--r-- | noatun/library/noatunarts/Equalizer_impl.cpp | 12 | ||||
-rw-r--r-- | noatun/library/noatunarts/StereoVolumeControl_impl.cpp | 12 |
2 files changed, 12 insertions, 12 deletions
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) { |