return;
}
- ARDOUR::BundleList current = _route->input()->bundles_connected ();
-
- if (std::find (current.begin(), current.end(), c) == current.end()) {
- _route->input()->connect_ports_to_bundle (c, true, this);
- } else {
- _route->input()->disconnect_ports_from_bundle (c, this);
- }
+ _route->input()->connect_ports_to_bundle (c, true, this);
}
void
return;
}
- 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, true, this);
- } else {
- _route->output()->disconnect_ports_from_bundle (c, this);
- }
+ route->output()->connect_ports_to_bundle (c, true, true, this);
}
void