pipewire/src/modules/module-client-node
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
..
client-node.c node: make add_listener method 2019-03-01 12:00:42 +01:00
client-node.h node: improve async handling 2019-02-21 09:40:12 +01:00
client-stream.c node: make add_listener method 2019-03-01 12:00:42 +01:00
client-stream.h Don't use __ in defines or declarations, it's reserved 2019-01-14 13:00:00 +01:00
protocol-native.c node: add port and node params 2019-02-27 16:43:01 +01:00
remote-node.c node: make add_listener method 2019-03-01 12:00:42 +01:00