diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-12 13:01:58 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-12 13:01:58 +0000 |
| commit | ee687726561e2520459c4cb4876700db2de5096f (patch) | |
| tree | 52fd034de672877a1d6f5589423989b6a1f886bb /rotord/src/vampHost.cpp | |
| parent | 33ffa11a2661b82b8d300a3df731de812d590153 (diff) | |
fix for audio viz fill
Diffstat (limited to 'rotord/src/vampHost.cpp')
| -rw-r--r-- | rotord/src/vampHost.cpp | 10 |
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? |
