stream: parse PropInfo and make controls

Parse the PropInfo params and make pw_stream_control elements.
Only emit control changes when something changed.
This commit is contained in:
Wim Taymans 2019-03-18 11:19:08 +01:00
parent a8e9e17159
commit 3049964031
2 changed files with 115 additions and 7 deletions

View file

@ -668,6 +668,8 @@ struct pw_stream {
struct pw_node_proxy *node;
struct spa_hook node_listener;
struct spa_list controls;
};
#define pw_factory_emit(s,m,v,...) spa_hook_list_call(&s->listener_list, struct pw_factory_events, m, v, ##__VA_ARGS__)