mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-22 08:56:59 -05:00
Move listeners to spa and rename to hooks
The listeners are generally useful in spa, move it there and rename to hooks. Implement loop hooks with it. Fix some cleanup issues in stream and remote
This commit is contained in:
parent
6b6b827a3b
commit
600055bd68
55 changed files with 428 additions and 383 deletions
|
|
@ -31,12 +31,12 @@ struct data {
|
|||
struct pw_core *core;
|
||||
|
||||
struct pw_remote *remote;
|
||||
struct pw_listener remote_listener;
|
||||
struct spa_hook remote_listener;
|
||||
|
||||
struct pw_core_proxy *core_proxy;
|
||||
|
||||
struct pw_registry_proxy *registry_proxy;
|
||||
struct pw_listener registry_listener;
|
||||
struct spa_hook registry_listener;
|
||||
};
|
||||
|
||||
struct proxy_data {
|
||||
|
|
@ -48,8 +48,8 @@ struct proxy_data {
|
|||
uint32_t type;
|
||||
void *info;
|
||||
pw_destroy_t destroy;
|
||||
struct pw_listener proxy_listener;
|
||||
struct pw_listener proxy_proxy_listener;
|
||||
struct spa_hook proxy_listener;
|
||||
struct spa_hook proxy_proxy_listener;
|
||||
};
|
||||
|
||||
static void print_properties(struct spa_dict *props, char mark)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue