proxy: add pw_proxy_set_bound_id

Add method to set bound_id and emit the signal.

Rename resource_bound_id -> resource_set_bound_id and add
resource_get_bound_id.
This commit is contained in:
Wim Taymans 2019-12-10 12:19:11 +01:00
parent 030d2a075b
commit 5a2ad084e8
18 changed files with 50 additions and 15 deletions

View file

@ -104,7 +104,7 @@ static void device_initialized(void *data)
struct pw_global *global = pw_device_get_global(device);
pw_log_debug("client-device %p: initialized global:%d", impl, global->id);
pw_resource_bound_id(impl->resource, global->id);
pw_resource_set_bound_id(impl->resource, global->id);
}
static const struct pw_device_events device_events = {