Mercurial > hg > svcore
diff transform/FeatureExtractionModelTransformer.h @ 1830:5f8fbbde08ff audio-source-refactor
Use shared_ptr for plugin instances throughout
author | Chris Cannam |
---|---|
date | Fri, 20 Mar 2020 16:30:33 +0000 |
parents | fe3f7f8df3a3 |
children |
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.h Fri Mar 20 16:30:16 2020 +0000 +++ b/transform/FeatureExtractionModelTransformer.h Fri Mar 20 16:30:33 2020 +0000 @@ -58,7 +58,7 @@ void run() override; - Vamp::Plugin *m_plugin; + std::shared_ptr<Vamp::Plugin> m_plugin; // descriptors per transform std::vector<Vamp::Plugin::OutputDescriptor> m_descriptors;