diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-04 15:30:03 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-04 15:30:03 +0100 |
| commit | be19f5a21dc1fe717711d76f500f6bfe0c4d166b (patch) | |
| tree | 8cffe4ea47bd5cd66f8fe5fd1fb537c40a52e8f4 /rotord/src/vampHost.cpp | |
| parent | bb4e23344b03c4f0947852530e13885035a6c3fb (diff) | |
adding final audio feature
Diffstat (limited to 'rotord/src/vampHost.cpp')
| -rw-r--r-- | rotord/src/vampHost.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rotord/src/vampHost.cpp b/rotord/src/vampHost.cpp index de7bb53..b265c3d 100644 --- a/rotord/src/vampHost.cpp +++ b/rotord/src/vampHost.cpp @@ -814,6 +814,12 @@ void vampHost::Analyser::cleanup(){ featureNo++; } + //make a final feature at the end + feature f; + f.number=featureNo; + f.values={0}; + features[((float)rt.sec)+(((float)rt.nsec)*.000000001f)]=f; + //cerr<<plugin->getIdentifier()<<" found "<<(features.size()-1)<<" features"<<endl; //deal with left over data? for (int c = 0; c < channels; ++c) { |
