mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
add some more debug info
This commit is contained in:
parent
8bb4b91e74
commit
9dfd261c71
3 changed files with 4 additions and 1 deletions
|
|
@ -638,6 +638,8 @@ static int impl_node_process(void *object)
|
|||
io = this->io;
|
||||
spa_return_val_if_fail(io != NULL, -EIO);
|
||||
|
||||
spa_log_trace_fp(this->log, NAME " %p; status %d", this, io->status);
|
||||
|
||||
if (io->status == SPA_STATUS_HAVE_DATA)
|
||||
return SPA_STATUS_HAVE_DATA;
|
||||
|
||||
|
|
|
|||
|
|
@ -1160,6 +1160,7 @@ static int handle_capture(struct state *state, uint64_t nsec,
|
|||
|
||||
io->buffer_id = b->id;
|
||||
io->status = SPA_STATUS_HAVE_DATA;
|
||||
spa_log_trace_fp(state->log, NAME" %p: output buffer:%d", state, b->id);
|
||||
}
|
||||
spa_node_call_ready(&state->callbacks, SPA_STATUS_HAVE_DATA);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue