void setSummarySegmentBoundaries(const SegmentBoundaries &)
Specify a series of segment boundaries, such that one summary will be returned for each of the contig...
bool initialise(size_t channels, size_t stepSize, size_t blockSize)
Initialise a plugin to prepare it for use with the given number of input channels,...
AveragingMethod
AveragingMethod indicates how the adapter should handle average-based summaries of features whose res...
PluginSummarisingAdapter(Plugin *plugin)
Construct a PluginSummarisingAdapter wrapping the given plugin.
FeatureSet process(const float *const *inputBuffers, RealTime timestamp)
Process a single block of input data.
void reset()
Reset the plugin after use, to prepare it for another clean run.
virtual ~PluginSummarisingAdapter()
std::set< RealTime > SegmentBoundaries
FeatureList getSummaryForOutput(int output, SummaryType type, AveragingMethod method=SampleAverage)
Return summaries of the features that were returned on the given output, using the given SummaryType ...
FeatureSet getSummaryForAllOutputs(SummaryType type, AveragingMethod method=SampleAverage)
Return summaries of the features that were returned on all of the plugin's outputs,...
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
PluginWrapper(Plugin *plugin)