Mercurial > hg > svapp
diff framework/TransformUserConfigurator.h @ 751:ed5db7d37005 pitch-align
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 22 Apr 2020 17:40:09 +0100 |
parents | 846970dbef17 |
children |
line wrap: on
line diff
--- a/framework/TransformUserConfigurator.h Fri Apr 03 10:17:46 2020 +0100 +++ b/framework/TransformUserConfigurator.h Wed Apr 22 17:40:09 2020 +0100 @@ -17,6 +17,8 @@ #include "transform/ModelTransformerFactory.h" +#include <memory> + class TransformUserConfigurator : public ModelTransformerFactory::UserConfigurator { public: @@ -24,7 +26,7 @@ bool configure(ModelTransformer::Input &input, Transform &transform, - Vamp::PluginBase *plugin, + std::shared_ptr<Vamp::PluginBase> plugin, ModelId &inputModel, AudioPlaySource *source, sv_frame_t startFrame, @@ -37,7 +39,8 @@ private: bool getChannelRange(TransformId identifier, - Vamp::PluginBase *plugin, int &min, int &max); + std::shared_ptr<Vamp::PluginBase> plugin, + int &min, int &max); };