Auto-connect input should not disconnect other ports

This fixes an issue with existing MIDI routing between MIDI tracks
and/or busses. Automatic MIDI connections should only dis/re-connect
ports that are explicitly configured in Preferences > MIDI Ports
and leave all other connections alone.
This commit is contained in:
Robin Gareus 2019-11-03 00:28:53 +01:00
parent db08810164
commit ee67d2d749
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -746,10 +746,6 @@ Session::rewire_selected_midi (boost::shared_ptr<MidiTrack> new_midi_target)
if (!msp.empty()) {
if (old_midi_target) {
old_midi_target->input()->disconnect (this);
}
for (vector<string>::const_iterator p = msp.begin(); p != msp.end(); ++p) {
PortManager::MidiPortInformation mpi (AudioEngine::instance()->midi_port_information (*p));