summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-27 23:32:00 +0200
committerRobin Gareus <robin@gareus.org>2016-04-27 23:34:55 +0200
commitc30b47f0eb72b0f4c6807ef34eea7b557bd9be16 (patch)
treeccbce9fde44fb1071c057fc2ce8489bef2279a97 /libs/ardour/ardour
parentb191408f986debf75fd7077946048259c071730e (diff)
allow to customize variable i/o plugin inputs
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/plugin_insert.h2
-rw-r--r--libs/ardour/ardour/route.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h
index bd72682692..9e8c530e57 100644
--- a/libs/ardour/ardour/plugin_insert.h
+++ b/libs/ardour/ardour/plugin_insert.h
@@ -144,6 +144,7 @@ class LIBARDOUR_API PluginInsert : public Processor
// only the owning route may call these (with process lock held)
// route is not a friend class, it owns us
bool set_count (uint32_t num);
+ void set_sinks (const ChanCount&); // reconfigurable I/O ONLY
void set_outputs (const ChanCount&);
void set_strict_io (bool b);
void set_custom_cfg (bool b);
@@ -312,6 +313,7 @@ class LIBARDOUR_API PluginInsert : public Processor
ChanCount _configured_internal; // with side-chain
ChanCount _configured_out;
ChanCount _custom_out;
+ ChanCount _custom_sinks;
ChanCount _preset_out;
ChanCount _cached_sidechain_pins;
ChanCount _required_buffers;
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index b8060f059d..66a83cf67d 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -309,9 +309,10 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou
* @param proc Processor to customize
* @param count number of plugin instances to use (if zero, reset to default)
* @param outs output port customization
+ * @param sinks input pins for variable-I/O plugins
* @returns true if successful
*/
- bool customize_plugin_insert (boost::shared_ptr<Processor> proc, uint32_t count, ChanCount outs);
+ bool customize_plugin_insert (boost::shared_ptr<Processor> proc, uint32_t count, ChanCount outs, ChanCount sinks);
bool add_remove_sidechain (boost::shared_ptr<Processor> proc, bool);
bool plugin_preset_output (boost::shared_ptr<Processor> proc, ChanCount outs);