Optimize Plugin connect & run API, use const maps
[ardour.git] / libs / ardour / ardour / vst_plugin.h
index 39838e1b212986a355b09dab9949e42f3c62147d..b2189143d3b8108324b8d347488d19941834b37f 100644 (file)
@@ -74,7 +74,7 @@ public:
 
        int connect_and_run (BufferSet&,
                        samplepos_t start, samplepos_t end, double speed,
-                       ChanMapping in, ChanMapping out,
+                       ChanMapping const& in, ChanMapping const& out,
                        pframes_t nframes, samplecnt_t offset
                        );