mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-06 01:40:26 -05:00
JACK will never return NULL from jack_port_by_id() because the id and the port_t are the same for JACK. In PipeWire however we use the serial number as the id and so it can be removed and become invalid. In this case, return a dummy port from the client that can be used for some of the basic operations you can do on a port_t, like get the name etc. Also make sure that port_name() doesn't return NULL in case we use the dummy port (which has the client set to NULL). Fixes #3512 |
||
|---|---|---|
| .. | ||
| control.c | ||
| dummy.c | ||
| export.c | ||
| meson.build | ||
| metadata.c | ||
| net.c | ||
| pipewire-jack-extensions.h | ||
| pipewire-jack.c | ||
| pw-jack.in | ||
| ringbuffer.c | ||
| statistics.c | ||
| uuid.c | ||