mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
policy: link endpoints based on direction and media
This commit is contained in:
parent
cc139a07bb
commit
5cfb155827
2 changed files with 24 additions and 90 deletions
|
|
@ -521,7 +521,8 @@ handle_node(struct impl *impl, struct sm_object *obj)
|
|||
node->id = obj->id;
|
||||
node->direction = direction;
|
||||
node->media = strdup(media_class);
|
||||
pw_log_debug(NAME "%p: node %d is stream %s", impl, node->id, node->media);
|
||||
pw_log_debug(NAME "%p: node %d is stream %d:%s", impl, node->id,
|
||||
node->direction, node->media);
|
||||
|
||||
sm_object_add_listener(obj, &node->listener, &object_events, node);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue