mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
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:
parent
a8e9e17159
commit
3049964031
2 changed files with 115 additions and 7 deletions
|
|
@ -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__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue