Create sidechain ports when created from template (#0007680)
authorJohannes Mueller <github@johannes-mueller.org>
Thu, 1 Nov 2018 19:30:06 +0000 (20:30 +0100)
committerJohannes Mueller <github@johannes-mueller.org>
Thu, 1 Nov 2018 21:17:01 +0000 (22:17 +0100)
commitfe318c0cd5c9116b512fe90241f3ba0c52841581
tree71e1e9144758917d54ef2c1822dbf32a44ac5b0b
parent287ce3d4777d466e7ee8ba2c49af3208864cc5cc
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.
libs/ardour/ardour/plugin_insert.h
libs/ardour/ardour/sidechain.h
libs/ardour/plugin_insert.cc