pipewire/spa/examples
Wim Taymans 0390969228 node: make add_listener method
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.
2019-03-01 12:00:42 +01:00
..
example-control.c node: make add_listener method 2019-03-01 12:00:42 +01:00
local-v4l2.c node: make add_listener method 2019-03-01 12:00:42 +01:00
meson.build spa: Update tests and examples 2019-01-17 09:27:41 +01:00