Mercurial > hg > svcore
diff transform/RealTimeEffectModelTransformer.h @ 1211:5a1198083d9a piper
Pull out model creation into the transformer thread run(), so that all communications with the plugin server happen on a single thread. Then make the model accessor wait for them to be created (which still happens right at the start of processing) before returning.
author | Chris Cannam |
---|---|
date | Mon, 17 Oct 2016 14:18:23 +0100 |
parents | 418cd2064769 |
children | c01cbe41aeb5 |
line wrap: on
line diff
--- a/transform/RealTimeEffectModelTransformer.h Fri Oct 14 16:23:04 2016 +0100 +++ b/transform/RealTimeEffectModelTransformer.h Mon Oct 17 14:18:23 2016 +0100 @@ -31,6 +31,8 @@ protected: virtual void run(); + virtual void awaitOutputModels() { } // they're created synchronously + QString m_units; RealTimePluginInstance *m_plugin; int m_outputNo;