mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
improve debug
When we fail to read the eventfd, don't try to use the value.
This commit is contained in:
parent
1b2f64917e
commit
a898f21c87
3 changed files with 3 additions and 4 deletions
|
|
@ -1004,8 +1004,7 @@ static inline uint32_t cycle_run(struct client *c)
|
|||
pw_log_warn(NAME" %p: read failed %m", c);
|
||||
if (errno == EWOULDBLOCK)
|
||||
return 0;
|
||||
}
|
||||
if (SPA_UNLIKELY(cmd > 1))
|
||||
} else if (SPA_UNLIKELY(cmd > 1))
|
||||
pw_log_warn(NAME" %p: missed %"PRIu64" wakeups", c, cmd - 1);
|
||||
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue