mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Make struct spa_node_events for events emited from the main thread and keep the spa_node_callbacks for the data thread callbacks. The add_listener method installs the events and it's possible to install multiple handles. Adding a listener first emits the info and port_info events when installed, similar to how the PipeWire proxy bind works. This removes the need for the spa_pending_queue and makes it easier to implement the _sync versions. Add some helpers to make it easier for plugins to emit all the info to new listeners. Use the listeners for devices as well. |
||
|---|---|---|
| .. | ||
| alsa-device.c | ||
| alsa-monitor.c | ||
| alsa-sink.c | ||
| alsa-source.c | ||
| alsa-utils.c | ||
| alsa-utils.h | ||
| alsa.c | ||
| meson.build | ||