summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin_insert.h
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2018-11-01 20:30:06 +0100
committerJohannes Mueller <github@johannes-mueller.org>2018-11-01 22:17:01 +0100
commitfe318c0cd5c9116b512fe90241f3ba0c52841581 (patch)
tree71e1e9144758917d54ef2c1822dbf32a44ac5b0b /libs/ardour/ardour/plugin_insert.h
parent287ce3d4777d466e7ee8ba2c49af3208864cc5cc (diff)
Create sidechain ports when created from template (#0007680)
When a route with a sidechain is created from a template or by route duplication the number of ports of the sidechain are set according to the XMLNode defining the sidechain. Then the names are set according to the name of the newly created route. Thus all the pin connections defined in the template are replicated in the newly created route.
Diffstat (limited to 'libs/ardour/ardour/plugin_insert.h')
-rw-r--r--libs/ardour/ardour/plugin_insert.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h
index a68110177f..0a56373972 100644
--- a/libs/ardour/ardour/plugin_insert.h
+++ b/libs/ardour/ardour/plugin_insert.h
@@ -388,6 +388,8 @@ private:
boost::shared_ptr<Plugin> plugin_factory (boost::shared_ptr<Plugin>);
void add_plugin (boost::shared_ptr<Plugin>);
+ void add_sidechain_from_xml (const XMLNode& node, int version);
+
void start_touch (uint32_t param_id);
void end_touch (uint32_t param_id);