comparison 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
comparison
equal deleted inserted replaced
1210:584b2d7d7cd9 1211:5a1198083d9a
29 virtual ~RealTimeEffectModelTransformer(); 29 virtual ~RealTimeEffectModelTransformer();
30 30
31 protected: 31 protected:
32 virtual void run(); 32 virtual void run();
33 33
34 virtual void awaitOutputModels() { } // they're created synchronously
35
34 QString m_units; 36 QString m_units;
35 RealTimePluginInstance *m_plugin; 37 RealTimePluginInstance *m_plugin;
36 int m_outputNo; 38 int m_outputNo;
37 39
38 // just casts 40 // just casts