do not have MIDI input follow selection when recording
This commit is contained in:
parent
0847dc8a37
commit
1e5a5b6b4f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user