Mercurial > hg > svapp
diff framework/Document.cpp @ 57:eb596ef12041
* Factor out uses of "Sonic Visualiser" in "common" code to applicationName()
* Add ability to show work title + artist in top-left of pane (thinking of Vect
but may be useful in SV in future)
* A few other generalisations useful for Vect
author | Chris Cannam |
---|---|
date | Fri, 09 Nov 2007 17:46:58 +0000 |
parents | a798f5e6fc5e |
children | 621c2edd1693 |
line wrap: on
line diff
--- a/framework/Document.cpp Thu Nov 08 16:14:32 2007 +0000 +++ b/framework/Document.cpp Fri Nov 09 17:46:58 2007 +0000 @@ -737,10 +737,12 @@ ModelTransformerFactory *factory = ModelTransformerFactory::getInstance(); + PluginTransformer::ExecutionContext context = + factory->getDefaultContextForTransformer(id, aggregate); +// context.stepSize = context.blockSize/2; + Model *transformOutput = factory->transform - (id, aggregate, - factory->getDefaultContextForTransformer(id, aggregate), - "<plugin param-serialise=\"1\"/>"); + (id, aggregate, context, "<plugin param-serialise=\"1\"/>"); SparseTimeValueModel *path = dynamic_cast<SparseTimeValueModel *> (transformOutput);