From 8097c13d38d0f9038e324dedda16b5fe38579630 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Jan 2009 17:42:38 +0000 Subject: [PATCH] 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 --- gtk2_ardour/port_group.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index 7421e61efc..405e721e42 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -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) {