mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Previously, if "add_listener" was called on the monitor device, then it did not necessarily emit events about all devices because it called `enum_devices()` which does not emit events about already existing devices. So the very first listener would get all existing devices, but subsequent ones would not get events about the existence of devices that have already been seen by the monitor. Fix that by simply emitting events about all existing devices if the current listener is not the first. |
||
|---|---|---|
| .. | ||
| libcamera-client.c | ||
| libcamera-device.cpp | ||
| libcamera-manager.cpp | ||
| libcamera-manager.hpp | ||
| libcamera-source.cpp | ||
| libcamera-utils.cpp | ||
| libcamera.c | ||
| libcamera.h | ||
| meson.build | ||