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:
parent
1aa3a3f4d6
commit
74fada443d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user