bluez5: cleanups

Use export_device
This commit is contained in:
Wim Taymans 2020-01-03 13:02:59 +01:00
parent 8f3b2b9543
commit 3b05896cd6
2 changed files with 81 additions and 77 deletions

View file

@ -1261,6 +1261,7 @@ struct pw_proxy *sm_media_session_export(struct sm_media_session *sess,
void *object, size_t user_data_size)
{
struct impl *impl = SPA_CONTAINER_OF(sess, struct impl, this);
pw_log_debug(NAME " %p: object %s %p", impl, type, object);
return pw_core_export(impl->monitor_core, type,
props, object, user_data_size);
}