summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/nexscope/input.cpp')
-rw-r--r--noatun-plugins/nexscope/input.cpp8
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];