Optimize plugin-processing for non-automated params
[ardour.git] / libs / ardour / ardour / lxvst_plugin.h
index f1a50b2f30a809ff20c215b518add67d8ddb0969..25703956c7d9771e8bbe81496cc6e8eb383d2b0f 100644 (file)
@@ -33,20 +33,21 @@ class Session;
 class LIBARDOUR_API LXVSTPlugin : public VSTPlugin
 {
   public:
-       LXVSTPlugin (AudioEngine &, Session &, VSTHandle *);
+       LXVSTPlugin (AudioEngine &, Session &, VSTHandle *, int unique_id);
        LXVSTPlugin (const LXVSTPlugin &);
        ~LXVSTPlugin ();
 
        std::string state_node_name () const { return "lxvst"; }
 };
 
-class LIBARDOUR_API LXVSTPluginInfo : public PluginInfo
+class LIBARDOUR_API LXVSTPluginInfo : public VSTPluginInfo
 {
   public:
-       LXVSTPluginInfo ();
+       LXVSTPluginInfo (_VSTInfo*);
        ~LXVSTPluginInfo () {}
 
        PluginPtr load (Session& session);
+       std::vector<Plugin::PresetRecord> get_presets (bool user_only) const;
 };
 
 } // namespace ARDOUR