diff vamp-sdk/hostext/PluginSummarisingAdapter.h @ 176:adfb6348881c

* add getSummaryForAllOutputs
author cannam
date Tue, 05 Aug 2008 15:36:40 +0000
parents 4811fb599a97
children 72bf540da84f
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginSummarisingAdapter.h	Tue Aug 05 15:15:37 2008 +0000
+++ b/vamp-sdk/hostext/PluginSummarisingAdapter.h	Tue Aug 05 15:36:40 2008 +0000
@@ -51,6 +51,16 @@
     PluginSummarisingAdapter(Plugin *plugin); // I take ownership of plugin
     virtual ~PluginSummarisingAdapter();
 
+    //!!! perhaps it should return the summaries as if they were the
+    //!!! original features?  if so, it will need to be told in
+    //!!! advance which summaries you want.  and that won't work if
+    //!!! you want more than one.  so, probably, no.
+
+    //!!! however, it is useful to have results in the same FeatureSet
+    //!!! structure as the original results -- rather than a single
+    //!!! FeatureList.  perhaps even useful to get a summary for all
+    //!!! outputs?
+
     FeatureSet process(const float *const *inputBuffers, RealTime timestamp);
     FeatureSet getRemainingFeatures();
 
@@ -69,7 +79,8 @@
         Count
     };
 
-    FeatureList getSummary(int output, SummaryType type);
+    FeatureList getSummaryForOutput(int output, SummaryType type);
+    FeatureSet getSummaryForAllOutputs(SummaryType type);
 
 protected:
     class Impl;