Improve loop callbacks

Pass just one data item to the callbacks.
Add properties to port.
Add user data to link
Handle autolink with multiple ports
More work on jack support
This commit is contained in:
Wim Taymans 2017-08-11 19:16:30 +02:00
parent cfd9967637
commit 9ad1f911b2
38 changed files with 1773 additions and 271 deletions

View file

@ -166,6 +166,8 @@ struct pw_link {
struct spa_graph_port out_port;
struct spa_graph_port in_port;
} rt;
void *user_data;
};
struct pw_module {
@ -230,6 +232,7 @@ struct pw_port {
enum pw_direction direction; /**< port direction */
uint32_t port_id; /**< port id */
struct pw_properties *properties;
enum pw_port_state state; /**< state of the port */