mirror of
https://github.com/owntone/owntone-server.git
synced 2025-05-02 07:53:48 -04:00
[player] Add warning log message if overrun is detected but player is
still able to catch up
This commit is contained in:
parent
074b4e773d
commit
3048817c0b
@ -1097,7 +1097,12 @@ playback_cb(int fd, short what, void *arg)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
pb_write_recovery = 0;
|
{
|
||||||
|
if (overrun > 0)
|
||||||
|
DPRINTF(E_WARN, L_PLAYER, "Output delay detected: player is %" PRIu64 " ticks behind, catching up\n", overrun);
|
||||||
|
|
||||||
|
pb_write_recovery = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// If there was an overrun, we will try to read/write a corresponding number
|
// If there was an overrun, we will try to read/write a corresponding number
|
||||||
// of times so we catch up. The read from the input is non-blocking, so it
|
// of times so we catch up. The read from the input is non-blocking, so it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user