diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:40 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 20:17:40 +0900 |
commit | 57ef93c0c479addaa00d9a0cb9ba627dc8599fc5 (patch) | |
tree | dffa54e004224aa825f2159330b735345fbcd572 /noatun-plugins/nexscope/input.cpp | |
parent | c75b807cca6bd83ae536655ca17a13fcaf0ad1c9 (diff) | |
download | tdeaddons-57ef93c0c479addaa00d9a0cb9ba627dc8599fc5.tar.gz tdeaddons-57ef93c0c479addaa00d9a0cb9ba627dc8599fc5.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'noatun-plugins/nexscope/input.cpp')
-rw-r--r-- | noatun-plugins/nexscope/input.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun-plugins/nexscope/input.cpp b/noatun-plugins/nexscope/input.cpp index 791c7ab..6b3355b 100644 --- a/noatun-plugins/nexscope/input.cpp +++ b/noatun-plugins/nexscope/input.cpp @@ -94,21 +94,21 @@ void Input::getAudio(float **audio) std::vector<float> *left, *right; mScope->scopeData(left, right); - register float *inleft=&*left->begin(); - register float *inright=&*right->begin(); + float *inleft=&*left->begin(); + float *inright=&*right->begin(); int offset=0; if (mConvolve) { // find the offset - for (register int i=0; i<512+256; ++i) + for (int i=0; i<512+256; ++i) temp[i]=inleft[i]+inright[i]; offset=::convolve_match(haystack, temp, state); if (offset==-1) offset=0; inleft+=offset; inright+=offset; - for (register int i=0; i<512; ++i) + for (int i=0; i<512; ++i) { haystack[i]*=.5; haystack[i]+=temp[i+offset]; |