summaryrefslogtreecommitdiff
path: root/rotord/src/vampHost.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-12 13:01:58 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-12 13:01:58 +0000
commitee687726561e2520459c4cb4876700db2de5096f (patch)
tree52fd034de672877a1d6f5589423989b6a1f886bb /rotord/src/vampHost.cpp
parent33ffa11a2661b82b8d300a3df731de812d590153 (diff)
fix for audio viz fill
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?