summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2019-03-11 16:43:43 +0100
committerWim Taymans <wtaymans@redhat.com>2019-03-11 16:43:43 +0100
commitd3d7b7e39f876845871adb4218274f3f5641faf9 (patch)
tree561b14f0c2e8045115816afca2f1f44c90289951 /src
parent61ad5ee518ddde493249014323ce97bdde97b7d1 (diff)
client-node: ignore io on the node itself
We only handle the io on the mixer ports, the internal io from the port to the node is done on the client side.
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-client-node/client-node.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/modules/module-client-node/client-node.c b/src/modules/module-client-node/client-node.c
index 72c57001..3b297380 100644
--- a/src/modules/module-client-node/client-node.c
+++ b/src/modules/module-client-node/client-node.c
@@ -792,13 +792,10 @@ impl_node_port_set_io(struct spa_node *node,
uint32_t id,
void *data, size_t size)
{
- struct node *this;
- struct impl *impl;
-
- this = SPA_CONTAINER_OF(node, struct node, node);
- impl = this->impl;
-
- return do_port_set_io(impl, direction, port_id, SPA_ID_INVALID, id, data, size);
+ /* ignore io on the node itself, weonly care about the io on the
+ * port mixers, the io on the node ports itself is handled on the
+ * client side */
+ return 0;
}
static int