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

@ -66,7 +66,7 @@ struct data {
struct pw_type *t;
struct pw_remote *remote;
struct pw_listener remote_listener;
struct spa_hook remote_listener;
struct pw_node *node;
};