mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
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:
parent
66c09682c4
commit
86a52ea7b5
1 changed files with 3 additions and 2 deletions
|
|
@ -889,8 +889,9 @@ 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);
|
||||
|
||||
spa_node_port_set_io(mix->port->mix, mix->mix.port.direction,
|
||||
mix->mix.port.port_id, SPA_IO_Buffers, NULL, 0);
|
||||
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);
|
||||
|
||||
spa_list_remove(&mix->link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue