diff vamp-sdk/Plugin.h @ 192:d4fbd4e6fdbf

* Add hasDuration to output descriptor as well as the features themselves
author cannam
date Thu, 18 Sep 2008 16:08:28 +0000
parents 1982246a3902
children 5ee166dccfff
line wrap: on
line diff
--- a/vamp-sdk/Plugin.h	Thu Sep 18 11:47:05 2008 +0000
+++ b/vamp-sdk/Plugin.h	Thu Sep 18 16:08:28 2008 +0000
@@ -305,9 +305,15 @@
 	 */
 	float sampleRate;
 
+        /**
+         * True if the returned results for this output are known to
+         * have a duration field.
+         */
+        bool hasDuration;
+
         OutputDescriptor() : // defaults for mandatory non-class-type members
             hasFixedBinCount(false), hasKnownExtents(false), isQuantized(false),
-            sampleType(OneSamplePerStep) { }
+            sampleType(OneSamplePerStep), hasDuration(false) { }
     };
 
     typedef std::vector<OutputDescriptor> OutputList;