diff transform/PluginTransform.h @ 182:21a76c9ed5c3

* Merge transform directory from sv-match-alignment branch (the previous comment included notes for this stuff, but I missed it in the actual merge) * Fix crash when a transform fails to create an output model and the thread that created the transform then deletes its input model thinking it's no longer needed, even though the transform run thread is still using it -- fix is to wait() on the transform before returning the null output model
author Chris Cannam
date Fri, 28 Sep 2007 16:15:06 +0000
parents bedc7517b6e8
children
line wrap: on
line diff
--- a/transform/PluginTransform.h	Fri Sep 28 14:32:45 2007 +0000
+++ b/transform/PluginTransform.h	Fri Sep 28 16:15:06 2007 +0000
@@ -48,6 +48,9 @@
         size_t stepSize;
         size_t blockSize;
         WindowType windowType;
+        size_t startFrame;
+        size_t duration;    // 0 -> whole thing
+        float sampleRate;   // 0 -> model's rate
     };
 
 protected: