summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin_insert.h
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2018-10-27 21:36:21 +0200
committerJohannes Mueller <github@johannes-mueller.org>2018-11-01 18:53:27 +0100
commit732fd75f9ba8ddf369088fb5b9e4a91d17160e00 (patch)
treec944449a362d44294775c81e1fdf3c6dd98b8830 /libs/ardour/ardour/plugin_insert.h
parent9a01ef35e71fb9885f08a43c9ebaf729ddb071e3 (diff)
Update names of sidechains.
When a PluginInsert is created it does not have an owner right away. That's why a we need to set the sidechains name once the owner is known, in order to include owner's name into the name. Furthermore we need to follow renames of the owner.
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 70297f11b2..a68110177f 100644
--- a/libs/ardour/ardour/plugin_insert.h
+++ b/libs/ardour/ardour/plugin_insert.h
@@ -170,6 +170,7 @@ public:
bool set_preset_out (const ChanCount&);
bool add_sidechain (uint32_t n_audio = 1, uint32_t n_midi = 0);
bool del_sidechain ();
+ void update_sidechain_name ();
boost::shared_ptr<SideChain> sidechain () const { return _sidechain; }
// end C++ class slavery!