mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
client-node: use the right port for io
To set the io on the mixer ports, we need to use the same id that was used to add the port, not the id we use to identify the mixer structure. Fixes #759
This commit is contained in:
parent
b3d94bf019
commit
a76032a637
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ client_node_port_set_io(void *object,
|
|||
}
|
||||
|
||||
if ((res = spa_node_port_set_io(mix->port->mix,
|
||||
direction, mix_id, id, ptr, size)) < 0) {
|
||||
direction, mix->mix.port.port_id, id, ptr, size)) < 0) {
|
||||
if (res == -ENOTSUP)
|
||||
res = 0;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue