13
0

remove "alsa_pcm:" prefix from MIDI port names in the port matrix, to make things slightly easier to read

git-svn-id: svn://localhost/ardour2/branches/3.0@9193 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-03-23 15:13:04 +00:00
parent d8a302d647
commit 9dc28d1131

View File

@ -550,9 +550,11 @@ 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);
}