From 66e488e38d70535a6187e2e40454143106cc9f28 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 1 Apr 2016 01:41:10 +0200 Subject: custom config trumps strict-i/o This allows a user to override strict-i/o per processor. The downside (currently): all downstream effects will be clamped to the customized outputs (not the actual track's inputs) This also introduces an new issue with re-config on session-load (missing code to handle this). --- libs/ardour/ardour/plugin_insert.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour/plugin_insert.h') diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index 291dda4231..3e233ba6c1 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -111,8 +111,8 @@ class LIBARDOUR_API PluginInsert : public Processor // route is not a friend class, it owns us bool set_count (uint32_t num); void set_outputs (const ChanCount&); - void set_strict_io (bool b) { _strict_io = b; } - void set_custom_cfg (bool b) { _custom_cfg = b; } + void set_strict_io (bool b); + void set_custom_cfg (bool b); // end C++ class slavery! uint32_t get_count () const { return _plugins.size(); } @@ -209,6 +209,7 @@ class LIBARDOUR_API PluginInsert : public Processor PBD::Signal2 AnalysisDataGathered; PBD::Signal0 PluginIoReConfigure; PBD::Signal0 PluginMapChanged; + PBD::Signal0 PluginConfigChanged; /** Enumeration of the ways in which we can match our insert's * IO to that of the plugin(s). -- cgit v1.2.3