Put JACK ports with alsa_pcm: prefix into the system group as well as system: ports.

git-svn-id: svn://localhost/ardour2/branches/3.0@4423 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-01-21 17:42:38 +00:00
parent 5309c327ec
commit 8097c13d38

View file

@ -172,8 +172,8 @@ PortGroupList::refresh ()
while (ports[n]) {
std::string const p = ports[n];
if (p.substr(0, strlen ("system:")) == "system:") {
/* system: prefix */
if (p.substr(0, strlen ("system:")) == "system:" || p.substr (0, strlen ("alsa_pcm:")) == "alsa_pcm:") {
/* system: or alsa_pcm: prefix */
_system.add_port (p);
} else {
if (p.substr(0, client_matching_string.length()) != client_matching_string) {