mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-07 08:21:11 -04:00
mixer: only add input ports to mixer
This commit is contained in:
parent
6bc07dfe0e
commit
a0c3c2d9e4
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ static int do_port_set_io(struct spa_loop *loop, bool async, uint32_t seq,
|
||||||
port->io[0] = info->data;
|
port->io[0] = info->data;
|
||||||
port->io[1] = info->data;
|
port->io[1] = info->data;
|
||||||
}
|
}
|
||||||
if (!port->active) {
|
if (port->direction == SPA_DIRECTION_INPUT && !port->active) {
|
||||||
spa_list_append(&info->impl->mix_list, &port->mix_link);
|
spa_list_append(&info->impl->mix_list, &port->mix_link);
|
||||||
port->active = true;
|
port->active = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue