mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-20 06:59:58 -05:00
context: non-passive loopback links also active a driver
If a driver node is linked with a non-passive link to itself, it should also become running. One example of this is the Midi bridge, that needs to start when you link one device to another. The devices are all on the same node so linking devices would result in loopback connections.
This commit is contained in:
parent
8ba6e98320
commit
9964741637
1 changed files with 0 additions and 2 deletions
|
|
@ -1018,8 +1018,6 @@ again:
|
||||||
if (s->max_quantum_size < max_quantum)
|
if (s->max_quantum_size < max_quantum)
|
||||||
max_quantum = s->max_quantum_size;
|
max_quantum = s->max_quantum_size;
|
||||||
}
|
}
|
||||||
if (s == n)
|
|
||||||
continue;
|
|
||||||
if (s->active)
|
if (s->active)
|
||||||
running = !n->passive;
|
running = !n->passive;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue