summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-03 03:11:18 +0200
committerRobin Gareus <robin@gareus.org>2016-04-03 03:11:18 +0200
commit91b875148ab8b86effc9a462d5ff06381975bbf9 (patch)
treecbfe2ed1d27ac8d2054973cbabc7b71a3c0f28a9 /libs/ardour/ardour/route.h
parent4aa4b803eee7392124a53d1392cb53e7a9c0317b (diff)
expose plugin sidechain (via route):
Processor and Process lock are needed, and the plugin chain needs to be reconfigured, so this cannot be directly performed by the plugin.
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index b103abf45b..8c71e87e94 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -278,6 +278,9 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou
bool set_strict_io (bool);
bool reset_plugin_insert (boost::shared_ptr<Processor> proc);
bool customize_plugin_insert (boost::shared_ptr<Processor> proc, uint32_t count, ChanCount outs);
+ bool add_remove_sidechain (boost::shared_ptr<Processor> proc, bool);
+ bool add_sidechain (boost::shared_ptr<Processor> proc) { return add_remove_sidechain (proc, true); }
+ bool remove_sidechain (boost::shared_ptr<Processor> proc) { return add_remove_sidechain (proc, false); }
framecnt_t set_private_port_latencies (bool playback) const;
void set_public_port_latencies (framecnt_t, bool playback) const;