Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/hostext/PluginSummarisingAdapter.h @ 195:1e4c6f25ded6
* More accurate calculation of summaries in continuous-time mode
* Labels
* Make some debug output optional
author | cannam |
---|---|
date | Tue, 07 Oct 2008 16:57:10 +0000 |
parents | 9a58bd07aa4d |
children | fe30a25ee4f8 |
comparison
equal
deleted
inserted
replaced
194:27cfae2a4155 | 195:1e4c6f25ded6 |
---|---|
49 { | 49 { |
50 public: | 50 public: |
51 PluginSummarisingAdapter(Plugin *plugin); // I take ownership of plugin | 51 PluginSummarisingAdapter(Plugin *plugin); // I take ownership of plugin |
52 virtual ~PluginSummarisingAdapter(); | 52 virtual ~PluginSummarisingAdapter(); |
53 | 53 |
54 //!!! perhaps it should return the summaries as if they were the | 54 bool initialise(size_t channels, size_t stepSize, size_t blockSize); |
55 //!!! original features? if so, it will need to be told in | |
56 //!!! advance which summaries you want. and that won't work if | |
57 //!!! you want more than one. so, probably, no. | |
58 | |
59 //!!! however, it is useful to have results in the same FeatureSet | |
60 //!!! structure as the original results -- rather than a single | |
61 //!!! FeatureList. perhaps even useful to get a summary for all | |
62 //!!! outputs? | |
63 | 55 |
64 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); | 56 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); |
65 FeatureSet getRemainingFeatures(); | 57 FeatureSet getRemainingFeatures(); |
66 | 58 |
67 typedef std::set<RealTime> SegmentBoundaries; | 59 typedef std::set<RealTime> SegmentBoundaries; |