client-node: don't set io on our internal mix

We use the -1 mixer to keep track of the buffers and format after the
port mixer so we don't want to clear the io when we remove it.
This commit is contained in:
Wim Taymans 2023-07-20 13:22:45 +02:00
parent 66c09682c4
commit 86a52ea7b5

View file

@ -889,6 +889,7 @@ static void clear_mix(struct node_data *data, struct mix *mix)
{
pw_log_debug("port %p: mix clear %d.%d", mix->port, mix->port->port_id, mix->mix.id);
if (mix->mix.id != SPA_ID_INVALID)
spa_node_port_set_io(mix->port->mix, mix->mix.port.direction,
mix->mix.port.port_id, SPA_IO_Buffers, NULL, 0);