mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
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 | ||