mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
add more debug of fd create and close
This commit is contained in:
parent
803c2860ed
commit
bb1cb530fc
3 changed files with 13 additions and 3 deletions
|
|
@ -1266,7 +1266,7 @@ static void node_initialized(void *data)
|
|||
node->writefd = impl->fds[1];
|
||||
|
||||
spa_loop_add_source(node->data_loop, &node->data_source);
|
||||
pw_log_debug(NAME " %p: transport fd %d %d", node, impl->fds[0], impl->fds[1]);
|
||||
pw_log_debug(NAME " %p: transport read-fd:%d write-fd:%d", node, impl->fds[0], impl->fds[1]);
|
||||
|
||||
size = sizeof(struct spa_io_buffers) * MAX_AREAS;
|
||||
|
||||
|
|
|
|||
|
|
@ -996,13 +996,13 @@ struct pw_impl_node *pw_context_create_node(struct pw_context *context,
|
|||
goto error_clean;
|
||||
}
|
||||
|
||||
pw_log_debug(NAME" %p: new", this);
|
||||
|
||||
this->properties = properties;
|
||||
|
||||
if ((res = spa_system_eventfd_create(data_system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK)) < 0)
|
||||
goto error_clean;
|
||||
|
||||
pw_log_debug(NAME" %p: new fd:%d", this, res);
|
||||
|
||||
this->source.fd = res;
|
||||
this->source.func = node_on_fd_events;
|
||||
this->source.data = this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue