13
0

Make the output menu able to connect partial matches

Use the new partial connection feature of IO::connect_ports_to_bundle.
This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2017-08-23 22:04:54 +02:00
parent 1aa3a3f4d6
commit 74fada443d

View 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);
}