mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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:
parent
5309c327ec
commit
8097c13d38
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue