From a76032a6373982e708fdbd38e0c9daec3f898ef9 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 28 Apr 2021 17:04:36 +0200 Subject: [PATCH] client-node: use the right port for io To set the io on the mixer ports, we need to use the same id that was used to add the port, not the id we use to identify the mixer structure. Fixes #759 --- src/modules/module-client-node/remote-node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-client-node/remote-node.c b/src/modules/module-client-node/remote-node.c index 6d1a345ae..3e261d7e3 100644 --- a/src/modules/module-client-node/remote-node.c +++ b/src/modules/module-client-node/remote-node.c @@ -797,7 +797,7 @@ client_node_port_set_io(void *object, } if ((res = spa_node_port_set_io(mix->port->mix, - direction, mix_id, id, ptr, size)) < 0) { + direction, mix->mix.port.port_id, id, ptr, size)) < 0) { if (res == -ENOTSUP) res = 0; else