Missing nframes_t fixes in VST build.
authorCarl Hetherington <carl@carlh.net>
Sat, 4 Dec 2010 03:07:14 +0000 (03:07 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 4 Dec 2010 03:07:14 +0000 (03:07 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8177 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/vst_plugin.h

index a06c3667f5d9d403986f9d8dadd3484a4acffcb0..f78f3e687c1af12d185227cdb6df534c83605bee 100644 (file)
@@ -56,7 +56,7 @@ class VSTPlugin : public ARDOUR::Plugin
        const char * maker() const;
        uint32_t parameter_count() const;
        float default_value (uint32_t port);
-       nframes_t signal_latency() const;
+       framecnt_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;
@@ -64,11 +64,11 @@ class VSTPlugin : public ARDOUR::Plugin
        uint32_t nth_parameter (uint32_t port, bool& ok) const;
        void activate ();
        void deactivate ();
-        int set_block_size (nframes_t nframes);
+       int set_block_size (pframes_t);
 
        int connect_and_run (BufferSet&,
                        ChanMapping in, ChanMapping out,
-                       nframes_t nframes, nframes_t offset);
+                       pframes_t nframes, framecnt_t offset);
 
        std::string describe_parameter (Evoral::Parameter);
        std::string state_node_name() const { return "vst"; }