device: add free signal

This commit is contained in:
Wim Taymans 2019-05-27 15:58:50 +02:00
parent 891bb49dfb
commit 973a92b49d
3 changed files with 4 additions and 0 deletions

View file

@ -294,6 +294,7 @@ static inline void free_allocation(struct allocation *alloc)
#define pw_device_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_device_events, m, v, ##__VA_ARGS__)
#define pw_device_emit_destroy(m) pw_device_emit(m, destroy, 0)
#define pw_device_emit_free(m) pw_device_emit(m, free, 0)
#define pw_device_emit_info_changed(n,i) pw_device_emit(n, info_changed, 0, i)
struct pw_device {