summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin_insert.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-07-10 22:09:18 +0200
committerRobin Gareus <robin@gareus.org>2015-07-10 22:09:18 +0200
commit4c608b6e04b7187f19ecb80e1b804b2b9c65cb34 (patch)
treed44fa6000530e5e3f53a1d728fcb2e0c559ec6a6 /libs/ardour/ardour/plugin_insert.h
parent9ab76a5cf0a8dc2ce1032184970225fb7491deaf (diff)
assign new IDs to plugin copies on paste.
when copying a plugin the state is transferred by serializing XML and setting state from XML. This state includes the unique ID. This ID needs to be identical at first in order to load the state from <session-dir>/plugins/<ID>/*
Diffstat (limited to 'libs/ardour/ardour/plugin_insert.h')
-rw-r--r--libs/ardour/ardour/plugin_insert.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h
index e01f56d8bf..7504478e87 100644
--- a/libs/ardour/ardour/plugin_insert.h
+++ b/libs/ardour/ardour/plugin_insert.h
@@ -53,6 +53,7 @@ class LIBARDOUR_API PluginInsert : public Processor
XMLNode& state(bool);
XMLNode& get_state(void);
int set_state(const XMLNode&, int version);
+ void update_id (PBD::ID);
void run (BufferSet& in, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool);
void silence (framecnt_t nframes);