From 8b3d50f7e6c4ab7575b169cccc54efc0e2a94fd0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 27 Mar 2011 14:33:41 +0000 Subject: [PATCH] revert recent change to cleaner names for MIDI ports, which breaks certain other code that expects full port names git-svn-id: svn://localhost/ardour2/branches/3.0@9218 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_group.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index be4977345e..4d936af903 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -550,11 +550,9 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp DataType t (jack_port_type (jp)); if (t != DataType::NIL) { if (port_has_prefix (p, N_("system:")) || + port_has_prefix (p, N_("alsa_pcm")) || port_has_prefix (p, lpnc)) { extra_system[t].push_back (p); - } else if (port_has_prefix (p, N_("alsa_pcm"))) { - /* JACK MIDI .. hack hack hack */ - extra_system[t].push_back (p.substr (p.find (':') + 1)); } else { extra_other[t].push_back (p); }