diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-15 17:57:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-15 17:57:40 +0200 |
commit | 424cacfbc83516d9e935bd93135e58b34dcfc002 (patch) | |
tree | c106cbc68fbb6e26b07e8c8e8608385b60f19cce /libs/ardour/ardour/plugin_insert.h | |
parent | 6f4ccfcd3b8ea971170b339fa93d501680cf44b3 (diff) |
variable plugin port config.
* extend plugin API (query IO ports)
* collect possible variable plugin configurations (AU, Lua)
* prepare semi-automatic configuration (presets: mono, stereo, N)
Diffstat (limited to 'libs/ardour/ardour/plugin_insert.h')
-rw-r--r-- | libs/ardour/ardour/plugin_insert.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index aa1164187d..c8f0a84222 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -134,7 +134,8 @@ class LIBARDOUR_API PluginInsert : public Processor } } - ChanCount required_buffers () const { return _required_buffers; } + const ChanCount& required_buffers () const { return _required_buffers; } + const ChanCount& preset_out () const { return _preset_out; } // allow to override output_streams(), implies "Custom Mode" @@ -144,6 +145,7 @@ class LIBARDOUR_API PluginInsert : public Processor void set_outputs (const ChanCount&); void set_strict_io (bool b); void set_custom_cfg (bool b); + bool set_preset_out (const ChanCount&); bool add_sidechain (uint32_t n_audio = 1); bool del_sidechain (); boost::shared_ptr<SideChain> sidechain () const { return _sidechain; } @@ -306,6 +308,7 @@ class LIBARDOUR_API PluginInsert : public Processor ChanCount _configured_internal; // with side-chain ChanCount _configured_out; ChanCount _custom_out; + ChanCount _preset_out; ChanCount _cached_sidechain_pins; ChanCount _required_buffers; @@ -317,6 +320,7 @@ class LIBARDOUR_API PluginInsert : public Processor bool _mapping_changed; Match private_can_support_io_configuration (ChanCount const &, ChanCount &) const; + Match internal_can_support_io_configuration (ChanCount const &, ChanCount &) const; Match automatic_can_support_io_configuration (ChanCount const &, ChanCount &) const; /** details of the match currently being used */ |