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

@ -143,7 +143,7 @@ void pw_node_set_implementation(struct pw_node *node,
void *data);
void pw_node_add_listener(struct pw_node *node,
struct pw_listener *listener,
struct spa_hook *listener,
const struct pw_node_events *events,
void *data);