make some warnings into log

Move some warnings when a wakeup was missed to info messages. The
warning can repeat a lot and is otherwise quite useless and already
reported elsewhere.
This commit is contained in:
Wim Taymans 2021-12-07 10:19:10 +01:00
parent c20f22466e
commit fbef731793
2 changed files with 2 additions and 2 deletions

View file

@ -1279,7 +1279,7 @@ static inline uint32_t cycle_run(struct client *c)
break;
}
if (SPA_UNLIKELY(cmd > 1))
pw_log_warn("%p: missed %"PRIu64" wakeups", c, cmd - 1);
pw_log_info("%p: missed %"PRIu64" wakeups", c, cmd - 1);
clock_gettime(CLOCK_MONOTONIC, &ts);
activation->status = PW_NODE_ACTIVATION_AWAKE;

View file

@ -1144,7 +1144,7 @@ static void node_on_data_fd_events(struct spa_source *source)
this->data_source.fd, &cmd) < 0))
pw_log_warn("%p: read failed %m", this);
else if (SPA_UNLIKELY(cmd > 1))
pw_log_warn("(%s-%u) client missed %"PRIu64" wakeups",
pw_log_info("(%s-%u) client missed %"PRIu64" wakeups",
node->name, node->info.id, cmd - 1);
spa_log_trace_fp(this->log, "%p: got ready", this);