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:
parent
0d95a4bfe4
commit
8b3d50f7e6
@ -550,11 +550,9 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp
|
|||||||
DataType t (jack_port_type (jp));
|
DataType t (jack_port_type (jp));
|
||||||
if (t != DataType::NIL) {
|
if (t != DataType::NIL) {
|
||||||
if (port_has_prefix (p, N_("system:")) ||
|
if (port_has_prefix (p, N_("system:")) ||
|
||||||
|
port_has_prefix (p, N_("alsa_pcm")) ||
|
||||||
port_has_prefix (p, lpnc)) {
|
port_has_prefix (p, lpnc)) {
|
||||||
extra_system[t].push_back (p);
|
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 {
|
} else {
|
||||||
extra_other[t].push_back (p);
|
extra_other[t].push_back (p);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user