diff options
author | Robin Gareus <robin@gareus.org> | 2014-01-01 15:34:06 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-01-01 15:34:06 +0100 |
commit | 2644aaddb19eda57551129c4e6ca6ca02fdb066a (patch) | |
tree | 51f34cfbf5c7400a348777134eb51715981f9885 /libs/ardour/plugin_insert.cc | |
parent | 91ae2c0e81414789baf9ed43c46570f1a7bbc1c2 (diff) |
visualize port connections in mixer/processor when in < out
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 473040d812..c25f8962ac 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -650,6 +650,8 @@ bool PluginInsert::configure_io (ChanCount in, ChanCount out) { Match old_match = _match; + ChanCount old_in = input_streams (); + ChanCount old_out = output_streams (); /* set the matching method and number of plugins that we will use to meet this configuration */ _match = private_can_support_io_configuration (in, out); @@ -657,9 +659,12 @@ PluginInsert::configure_io (ChanCount in, ChanCount out) return false; } - /* a signal needs emitting if we start or stop splitting */ - if (old_match.method != _match.method && (old_match.method == Split || _match.method == Split)) { - SplittingChanged (); /* EMIT SIGNAL */ + if ( (old_match.method != _match.method && (old_match.method == Split || _match.method == Split)) + || old_in != in + || old_out != out + ) + { + PluginIoReConfigure (); /* EMIT SIGNAL */ } /* configure plugins */ |