13
0

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
This commit is contained in:
Paul Davis 2011-03-27 14:33:41 +00:00
parent 0d95a4bfe4
commit 8b3d50f7e6

View File

@ -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);
}