13
0

do not have MIDI input follow selection when recording

This commit is contained in:
Paul Davis 2024-06-15 14:01:14 -06:00
parent 0847dc8a37
commit 1e5a5b6b4f

View File

@ -764,6 +764,10 @@ Session::disconnect_port_for_rewire (std::string const& port) const
void
Session::rewire_selected_midi (std::shared_ptr<MidiTrack> new_midi_target)
{
if (actively_recording()) {
return;
}
if (!new_midi_target) {
return;
}
@ -806,6 +810,10 @@ Session::rewire_selected_midi (std::shared_ptr<MidiTrack> new_midi_target)
void
Session::rewire_midi_selection_ports ()
{
if (actively_recording()) {
return;
}
if (!Config->get_midi_input_follows_selection()) {
return;
}