mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
port: debug param changes some more
This commit is contained in:
parent
2d91e62a19
commit
dab0644d76
2 changed files with 6 additions and 0 deletions
|
|
@ -803,6 +803,9 @@ static void port_param_changed(struct pw_impl_link *this, uint32_t id,
|
|||
{
|
||||
enum pw_impl_port_state target;
|
||||
|
||||
pw_log_debug(NAME" %p: outport %p input %p param %d", this,
|
||||
outport, inport, id);
|
||||
|
||||
switch (id) {
|
||||
case SPA_PARAM_EnumFormat:
|
||||
target = PW_IMPL_PORT_STATE_CONFIGURE;
|
||||
|
|
|
|||
|
|
@ -309,6 +309,9 @@ static void emit_params(struct pw_impl_port *port, uint32_t *changed_ids, uint32
|
|||
struct pw_resource *resource;
|
||||
int subscribed = 0;
|
||||
|
||||
pw_log_debug(NAME" %p: emit param %d/%d: %d", port, i, n_changed_ids,
|
||||
changed_ids[i]);
|
||||
|
||||
pw_impl_port_emit_param_changed(port, changed_ids[i]);
|
||||
|
||||
/* first check if anyone is subscribed */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue