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:
Wim Taymans 2017-08-08 16:56:29 +02:00
parent 6b6b827a3b
commit 600055bd68
55 changed files with 428 additions and 383 deletions

View file

@ -445,7 +445,7 @@ struct pw_client_node_proxy_events {
static inline void
pw_client_node_proxy_add_listener(struct pw_client_node_proxy *p,
struct pw_listener *listener,
struct spa_hook *listener,
const struct pw_client_node_proxy_events *events,
void *data)
{