Mercurial > hg > svcore
diff transform/ModelTransformerFactory.h @ 1832:7c92c644db20
Merge from branch audio-source-refactor. Various changes to memory management for plugins, ring buffers etc, for safer code further up the stack
author | Chris Cannam |
---|---|
date | Fri, 03 Apr 2020 12:12:02 +0100 |
parents | 5f8fbbde08ff |
children |
line wrap: on
line diff
--- a/transform/ModelTransformerFactory.h Fri Mar 27 10:06:03 2020 +0000 +++ b/transform/ModelTransformerFactory.h Fri Apr 03 12:12:02 2020 +0100 @@ -29,6 +29,7 @@ #include <map> #include <set> #include <vector> +#include <memory> class AudioPlaySource; @@ -45,7 +46,7 @@ public: virtual bool configure(ModelTransformer::Input &input, Transform &transform, - Vamp::PluginBase *plugin, + std::shared_ptr<Vamp::PluginBase> plugin, ModelId &inputModel, AudioPlaySource *source, sv_frame_t startFrame,