Browse Source

jack: use system:monitor_ prefix for monitor ports

lines
Wim Taymans 1 year ago
parent
commit
5e9f6c8ecc
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pipewire-jack/src/pipewire-jack.c

+ 2
- 1
pipewire-jack/src/pipewire-jack.c View File

@ -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…
Cancel
Save