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/audio_unit.h | |
parent | cbb116026dad699b7e06a07918c82484c16fb2b6 (diff) |
API to count max multi-channel plugin outputs
Diffstat (limited to 'libs/ardour/ardour/audio_unit.h')
-rw-r--r-- | libs/ardour/ardour/audio_unit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/audio_unit.h b/libs/ardour/ardour/audio_unit.h index 1ed1703c54..feae338e86 100644 --- a/libs/ardour/ardour/audio_unit.h +++ b/libs/ardour/ardour/audio_unit.h @@ -245,7 +245,7 @@ struct LIBARDOUR_API AUPluginCachedInfo { class LIBARDOUR_API AUPluginInfo : public PluginInfo { public: AUPluginInfo (boost::shared_ptr<CAComponentDescription>); - ~AUPluginInfo (); + ~AUPluginInfo () {} PluginPtr load (Session& session); @@ -263,6 +263,7 @@ class LIBARDOUR_API AUPluginInfo : public PluginInfo { AUPluginCachedInfo cache; bool reconfigurable_io() const { return true; } + uint32_t max_configurable_ouputs () const { return max_outputs; } static void clear_cache (); static PluginInfoList* discover (bool scan_only); @@ -274,6 +275,7 @@ class LIBARDOUR_API AUPluginInfo : public PluginInfo { private: boost::shared_ptr<CAComponentDescription> descriptor; UInt32 version; + uint32_t max_outputs; static FILE * _crashlog_fd; static bool _scan_only; |