port: debug param changes some more

This commit is contained in:
Wim Taymans 2020-07-20 10:27:59 +02:00
parent 2d91e62a19
commit dab0644d76
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -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 */