mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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).
This commit is contained in:
parent
f0d2327af0
commit
148a9682be
1 changed files with 0 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue