Make the output menu able to connect partial matches
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Wed, 23 Aug 2017 20:04:54 +0000 (22:04 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Wed, 23 Aug 2017 21:31:28 +0000 (23:31 +0200)
Use the new partial connection feature of IO::connect_ports_to_bundle.

gtk2_ardour/mixer_strip.cc

index dc8813dbd7ee8bb01a0931bbbd933eef795184f7..0a457cc6ddd746f0b1ffc9194e85bcc3549eac60 100644 (file)
@@ -1097,7 +1097,7 @@ MixerStrip::bundle_output_chosen (boost::shared_ptr<ARDOUR::Bundle> c)
        ARDOUR::BundleList current = _route->output()->bundles_connected ();
 
        if (std::find (current.begin(), current.end(), c) == current.end()) {
-               _route->output()->connect_ports_to_bundle (c, true, this);
+               _route->output()->connect_ports_to_bundle (c, true, true, this);
        } else {
                _route->output()->disconnect_ports_from_bundle (c, this);
        }