mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
jack: use system:monitor_ prefix for monitor ports
This commit is contained in:
parent
d7cddbdb61
commit
5e9f6c8ecc
1 changed files with 2 additions and 1 deletions
|
|
@ -2587,7 +2587,8 @@ static void registry_event_global(void *data, uint32_t id,
|
|||
|
||||
if ((str = spa_dict_lookup(props, PW_KEY_PORT_ID)) != NULL)
|
||||
snprintf(o->port.system, sizeof(o->port.system), "system:%s_%d",
|
||||
flags & JackPortIsInput ? "playback" : "capture",
|
||||
flags & JackPortIsInput ? "playback" :
|
||||
is_monitor ? "monitor" : "capture",
|
||||
atoi(str)+1);
|
||||
|
||||
o->port.flags = flags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue