mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
do not have MIDI input follow selection when recording
This commit is contained in:
parent
0847dc8a37
commit
1e5a5b6b4f
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue