comparison 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
comparison
equal deleted inserted replaced
181:a65a01870d8c 182:21a76c9ed5c3
46 int channel; 46 int channel;
47 Vamp::Plugin::InputDomain domain; 47 Vamp::Plugin::InputDomain domain;
48 size_t stepSize; 48 size_t stepSize;
49 size_t blockSize; 49 size_t blockSize;
50 WindowType windowType; 50 WindowType windowType;
51 size_t startFrame;
52 size_t duration; // 0 -> whole thing
53 float sampleRate; // 0 -> model's rate
51 }; 54 };
52 55
53 protected: 56 protected:
54 PluginTransform(Model *inputModel, 57 PluginTransform(Model *inputModel,
55 const ExecutionContext &context); 58 const ExecutionContext &context);