mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
add some more debug
This commit is contained in:
parent
c13c028ebb
commit
2462cac4f2
2 changed files with 3 additions and 1 deletions
|
|
@ -302,6 +302,7 @@ static void client_free(void *data)
|
||||||
struct client_data *this = data;
|
struct client_data *this = data;
|
||||||
struct pw_impl_client *client = this->client;
|
struct pw_impl_client *client = this->client;
|
||||||
|
|
||||||
|
pw_log_debug(NAME" %p: free", this);
|
||||||
spa_list_remove(&this->protocol_link);
|
spa_list_remove(&this->protocol_link);
|
||||||
|
|
||||||
if (this->source)
|
if (this->source)
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ struct pw_protocol_native_connection *pw_protocol_native_connection_new(struct p
|
||||||
|
|
||||||
this = &impl->this;
|
this = &impl->this;
|
||||||
|
|
||||||
pw_log_debug("connection %p: new", this);
|
pw_log_debug("connection %p: new fd:%d", this, fd);
|
||||||
|
|
||||||
this->fd = fd;
|
this->fd = fd;
|
||||||
spa_hook_list_init(&this->listener_list);
|
spa_hook_list_init(&this->listener_list);
|
||||||
|
|
@ -266,6 +266,7 @@ no_mem:
|
||||||
|
|
||||||
int pw_protocol_native_connection_set_fd(struct pw_protocol_native_connection *conn, int fd)
|
int pw_protocol_native_connection_set_fd(struct pw_protocol_native_connection *conn, int fd)
|
||||||
{
|
{
|
||||||
|
pw_log_debug("connection %p: fd:%d", conn, fd);
|
||||||
conn->fd = fd;
|
conn->fd = fd;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue