summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r--libs/ardour/ardour/plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h
index ad03806977..287f18ad68 100644
--- a/libs/ardour/ardour/plugin.h
+++ b/libs/ardour/ardour/plugin.h
@@ -496,6 +496,12 @@ public:
/* @return true if the plugin can change its inputs or outputs on demand. */
virtual bool reconfigurable_io () const { return false; }
+ /* max [re]configurable outputs (if finite, 0 otherwise) */
+ virtual uint32_t max_configurable_ouputs () const
+ {
+ return n_outputs.n_audio();
+ }
+
protected:
friend class PluginManager;
uint32_t index; //< used for LADSPA, index in module