Fix the horrible mess that was anything related to sources and paths.
[ardour.git] / libs / ardour / ardour / vst_plugin.h
index fb03a75bb83c1b43b8c135bba97206721afb5796..e41d000f9cf0581abac9a1e71a9ba3f58d5ce289 100644 (file)
@@ -56,13 +56,13 @@ class VSTPlugin : public ARDOUR::Plugin
 
        /* Plugin interface */
        
-       uint32_t unique_id() const;
+       std::string unique_id() const;
        const char * label() const;
        const char * name() const;
        const char * maker() const;
        uint32_t parameter_count() const;
        float default_value (uint32_t port);
-       nframes_t latency() const;
+       nframes_t signal_latency() const;
        void set_parameter (uint32_t port, float val);
        float get_parameter (uint32_t port) const;
        int get_parameter_descriptor (uint32_t which, ParameterDescriptor&) const;
@@ -71,7 +71,7 @@ class VSTPlugin : public ARDOUR::Plugin
        void activate ();
        void deactivate ();
        void set_block_size (nframes_t nframes);
-       int connect_and_run (vector<Sample*>& bufs, uint32_t maxbuf, int32_t& in, int32_t& out, nframes_t nframes, nframes_t offset);
+       int connect_and_run (BufferSet&, uint32_t& in, uint32_t& out, nframes_t nframes, nframes_t offset);
        string describe_parameter (uint32_t);
        string state_node_name() const { return "vst"; }
        void print_parameter (uint32_t, char*, uint32_t len) const;