mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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,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);
|
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,
|
spa_node_port_set_io(mix->port->mix, mix->mix.port.direction,
|
||||||
mix->mix.port.port_id, SPA_IO_Buffers, NULL, 0);
|
mix->mix.port.port_id, SPA_IO_Buffers, NULL, 0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue