Skip to content

Commit

Permalink
Improve logging of unknown parameter changes
Browse files Browse the repository at this point in the history
These messages are only useful for developers, so log at debug level,
not error level.  Also log that property and latency changes are not
implemented yet.
  • Loading branch information
DemiMarie committed Oct 1, 2023
1 parent b8a8565 commit d80536b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pipewire/qubes-pw-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,13 @@ static void stream_param_changed(void *data, uint32_t id,
break;
case SPA_PARAM_Props:
/* TODO: reconfigure the stream according to the new properties */
pw_log_debug("TODO: reconfigure stream according to new properties");
return;
case 15 /* SPA_PARAM_Latency */:
pw_log_debug("TODO: handling latency changes");
return;
default:
pw_log_error("Unknown id %" PRIu32, id);
pw_log_debug("Unknown id %" PRIu32, id);
return;
}

Expand Down

0 comments on commit d80536b

Please sign in to comment.