mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +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]) {
|
while (ports[n]) {
|
||||||
std::string const p = ports[n];
|
std::string const p = ports[n];
|
||||||
|
|
||||||
if (p.substr(0, strlen ("system:")) == "system:") {
|
if (p.substr(0, strlen ("system:")) == "system:" || p.substr (0, strlen ("alsa_pcm:")) == "alsa_pcm:") {
|
||||||
/* system: prefix */
|
/* system: or alsa_pcm: prefix */
|
||||||
_system.add_port (p);
|
_system.add_port (p);
|
||||||
} else {
|
} else {
|
||||||
if (p.substr(0, client_matching_string.length()) != client_matching_string) {
|
if (p.substr(0, client_matching_string.length()) != client_matching_string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue