mixer: only add input ports to mixer

This commit is contained in:
Wim Taymans 2026-03-23 12:14:27 +01:00
parent 0d1280a5b2
commit 67070762d0

View file

@ -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[1] = info->data;
}
if (!port->active) {
if (port->direction == SPA_DIRECTION_INPUT && !port->active) {
spa_list_append(&info->impl->mix_list, &port->mix_link);
port->active = true;
}