diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-18 15:22:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-18 22:56:46 +0200 |
commit | 148a9682be3fcf1c83c738287f875c9c629edbd1 (patch) | |
tree | 4f642f69085b8f0a2a5dfa40973e631c86d6d80a /gtk2_ardour/rc_option_editor.cc | |
parent | f0d2327af09447c237dadb26e48923ca2129b863 (diff) |
Remove redundant port-owner check
Ports owned by Ardour are already filtered out by
PortManager::get_known_midi_ports() ->
PortManager::fill_midi_port_info_locked()
This change is in preparation for allowing to expose Ardour's
"Virtual MIDI Keyboard" keyboard (which is owned by Ardour).
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index e3e41e3b25..60b46f6120 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2006,10 +2006,6 @@ MidiPortOptions::refill_midi_ports (bool for_input, Gtk::TreeView& view) for (vector<string>::const_iterator s = ports.begin(); s != ports.end(); ++s) { - if (AudioEngine::instance()->port_is_mine (*s)) { - continue; - } - PortManager::MidiPortInformation mpi (AudioEngine::instance()->midi_port_information (*s)); if (!mpi.exists) { |