impl-link: don't set io in mix

Let the implementation handle this when needed. The main problem is that
we can set this to NULL before calling the port function and that might
crash things.
This commit is contained in:
Wim Taymans 2023-06-16 20:31:33 +02:00
parent 81fd6d5275
commit 2919b55f7f

View file

@ -482,7 +482,6 @@ static int port_set_io(struct pw_impl_link *this, struct pw_impl_port *port, uin
{
int res = 0;
mix->io = data;
pw_log_debug("%p: %s port %p %d.%d set io: %d %p %zd", this,
pw_direction_as_string(port->direction),
port, port->port_id, mix->port.port_id, id, data, size);