mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
2e87127700
Keep per type free_lists so that we can't reuse an old port object for a link/node. This makes it more likely that ports are still available after being freed. Keep all allocated objects indexed in a global cache map. Use the global cache index as the jack_port_id_t in connection and port registration callbacks. Since the port_id is unique per allocated object and since the objects types are never changed, we can always find a port with the given port_id in the cache. This vastly improves tools like catia that insist on querying objects after they have been removed/destroyed. |
||
---|---|---|
.. | ||
examples | ||
jack | ||
src | ||
meson.build |