mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
Improve some debug
This commit is contained in:
parent
6e0ffb0c47
commit
e04d58ee3a
12 changed files with 24 additions and 21 deletions
|
|
@ -1100,7 +1100,7 @@ static void input_node_result(void *data, int seq, int res, uint32_t type, const
|
|||
{
|
||||
struct impl *impl = data;
|
||||
struct pw_port *port = impl->this.input;
|
||||
pw_log_debug(NAME" %p: input port %p result seq:%d res:%d type:%u",
|
||||
pw_log_trace(NAME" %p: input port %p result seq:%d res:%d type:%u",
|
||||
impl, port, seq, res, type);
|
||||
node_result(impl, port, seq, res, type, result);
|
||||
}
|
||||
|
|
@ -1109,7 +1109,7 @@ static void output_node_result(void *data, int seq, int res, uint32_t type, cons
|
|||
{
|
||||
struct impl *impl = data;
|
||||
struct pw_port *port = impl->this.output;
|
||||
pw_log_debug(NAME" %p: output port %p result seq:%d res:%d type:%u",
|
||||
pw_log_trace(NAME" %p: output port %p result seq:%d res:%d type:%u",
|
||||
impl, port, seq, res, type);
|
||||
|
||||
node_result(impl, port, seq, res, type, result);
|
||||
|
|
|
|||
|
|
@ -1252,11 +1252,6 @@ static void do_reposition(struct pw_node *driver, struct pw_node *node)
|
|||
pw_log_debug(NAME" %p: update position:%lu", node, src->position);
|
||||
|
||||
memcpy(dst, src, sizeof(struct spa_io_segment));
|
||||
dst->flags = src->flags;
|
||||
dst->start = src->start;
|
||||
dst->duration = src->duration;
|
||||
dst->rate = src->rate;
|
||||
dst->position = src->position;
|
||||
if (dst->start == 0)
|
||||
dst->start = a->position.clock.position - a->position.offset;
|
||||
|
||||
|
|
|
|||
|
|
@ -225,8 +225,9 @@ int pw_port_init_mix(struct pw_port *port, struct pw_port_mix *mix)
|
|||
}
|
||||
}
|
||||
|
||||
pw_log_debug(NAME" %p: init mix %d %d.%d io %p: (%s)", port,
|
||||
port->n_mix, port->port_id, mix->port.port_id, mix->io, spa_strerror(res));
|
||||
pw_log_debug(NAME" %p: init mix n_mix:%d %d.%d io:%p: (%s)", port,
|
||||
port->n_mix, port->port_id, mix->port.port_id,
|
||||
mix->io, spa_strerror(res));
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue