summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_group.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-21 17:42:38 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-21 17:42:38 +0000
commit8097c13d38d0f9038e324dedda16b5fe38579630 (patch)
tree20986d4cd2d8a6a2dc0879e901640b41cfaeb7fe /gtk2_ardour/port_group.cc
parent5309c327ec96de33838e45ddb1489a632c2a4c68 (diff)
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
Diffstat (limited to 'gtk2_ardour/port_group.cc')
-rw-r--r--gtk2_ardour/port_group.cc4
1 files 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) {