mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-20 06:59:58 -05:00
Keep a sorted circular list of the globals by id. Keep all globals smaller than the current serial at the tail and the globals bigger in the front. When we wrap around we will eventually have a collision with the head global, we can then skip that id, move the global to the tail and try the next id. In the normal case, this is O(1) collision check and O(1) removal. In the case of a collisions, it needs to skip the cluster of used ids. See !1108 |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||