diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-15 14:47:11 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-15 14:48:32 +0200 |
commit | bcd1391bf745f69f3689b9885f1b99dda9649587 (patch) | |
tree | 403ca0c4f319295366b26c01f955de34146fc455 /libs/ardour/ardour/plugin.h | |
parent | cbb116026dad699b7e06a07918c82484c16fb2b6 (diff) |
API to count max multi-channel plugin outputs
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 6 |
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 |