summaryrefslogtreecommitdiff
path: root/rotord/src/vampHost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/vampHost.cpp')
-rw-r--r--rotord/src/vampHost.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/rotord/src/vampHost.cpp b/rotord/src/vampHost.cpp
index 3f18473..a70e795 100644
--- a/rotord/src/vampHost.cpp
+++ b/rotord/src/vampHost.cpp
@@ -383,11 +383,11 @@ void vampHost::Analyser::cleanup(){
featureNo++;
}
- //make a final feature at the end
- //feature f;
- //f.number=featureNo;
- //f.values={0};
- //features[((double)rt.sec)+(((double)rt.nsec)*.000000001f)]=f;
+ //always make a final blank feature at the end
+ feature f;
+ f.number=featureNo;
+ f.values={};
+ features[((double)rt.sec)+(((double)rt.nsec)*.000000001f)]=f;
//cerr<<plugin->getIdentifier()<<" found "<<(features.size()-1)<<" features"<<endl;
//deal with left over data?