summaryrefslogtreecommitdiff
path: root/libs/ardour/port_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-04-03 10:50:27 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2017-04-03 10:50:27 +0200
commit7dde6c3b8fa5b819fa59cd15ffc6290ebfefc789 (patch)
tree160efd6f155b916b5f518c2b5555bcbb832f2cf6 /libs/ardour/port_manager.cc
parent54bab5153f1cb105ed9c31f42d032587750a782e (diff)
do not save or restore MIDI port "pretty-names" from XML
This is a job for the backend, which should really get the names from the hardware/driver and make a mapping between a device UUID and the name. Neither the ALSA, JACK or ASIO backends can do this at present
Diffstat (limited to 'libs/ardour/port_manager.cc')
-rw-r--r--libs/ardour/port_manager.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc
index a7341c442d..b99337a891 100644
--- a/libs/ardour/port_manager.cc
+++ b/libs/ardour/port_manager.cc
@@ -1069,7 +1069,6 @@ PortManager::save_midi_port_info ()
for (MidiPortInfo::iterator i = midi_port_info.begin(); i != midi_port_info.end(); ++i) {
XMLNode* node = new XMLNode (X_("port"));
node->add_property (X_("name"), i->first);
- node->add_property (X_("pretty-name"), i->second.pretty_name);
node->add_property (X_("input"), i->second.input ? X_("yes") : X_("no"));
node->add_property (X_("properties"), enum_2_string (i->second.properties));
root->add_child_nocopy (*node);
@@ -1113,11 +1112,6 @@ PortManager::load_midi_port_info ()
name = prop->value ();
- if ((prop = (*i)->property (X_("pretty-name"))) == 0) {
- continue;
- }
- mpi.pretty_name = prop->value();
-
if ((prop = (*i)->property (X_("input"))) == 0) {
continue;
}