mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
node-driver: Log when we resync
This commit is contained in:
parent
bbb83b97c5
commit
3958bed5c3
1 changed files with 2 additions and 0 deletions
|
|
@ -305,6 +305,8 @@ static void on_timeout(struct spa_source *source)
|
|||
err = (double)position - (double)current_position;
|
||||
if (fabs(err) > this->max_error) {
|
||||
if (fabs(err) > this->max_resync) {
|
||||
spa_log_warn(this->log, "err %f > max_resync %f, resetting",
|
||||
err, this->max_resync);
|
||||
spa_dll_set_bw(&this->dll, SPA_DLL_BW_MIN, duration, rate);
|
||||
position = current_position;
|
||||
err = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue