mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
Currently, `release_card()` uses `find_card()` to find the card by the index stored in the state object. However, `find_card()` increments the reference count of the object, therefore `release_card()` will drop the reference that it has just created by calling `find_card()` and not the "calling scope's" reference. This prevents the card objects from being freed when the SPA handle is cleared. Fix it by having `release_card()` take a pointer to the card and not its index. |
||
|---|---|---|
| .. | ||
| acp | ||
| mixer | ||
| 90-pipewire-alsa.rules | ||
| acp-tool.c | ||
| alsa-acp-device.c | ||
| alsa-pcm-device.c | ||
| alsa-pcm-sink.c | ||
| alsa-pcm-source.c | ||
| alsa-pcm.c | ||
| alsa-pcm.h | ||
| alsa-seq-bridge.c | ||
| alsa-seq.c | ||
| alsa-seq.h | ||
| alsa-udev.c | ||
| alsa.c | ||
| alsa.h | ||
| dll.h | ||
| meson.build | ||
| test-timer.c | ||