mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
support: add resync.ms option to node.driver
Move some of the tracking code for the DLL to where it is used. Add resync.ms (default 10) option at which we give up rate adjusting and instead do a hard resync. This results in a jump in the position of the graph clock.
This commit is contained in:
parent
5f531e7fe6
commit
c28311fc97
3 changed files with 25 additions and 9 deletions
|
|
@ -156,6 +156,10 @@ struct spa_fraction {
|
|||
({ \
|
||||
fminf(fmaxf(v, low), high); \
|
||||
})
|
||||
#define SPA_CLAMPD(v,low,high) \
|
||||
({ \
|
||||
fmin(fmax(v, low), high); \
|
||||
})
|
||||
|
||||
|
||||
#define SPA_SWAP(a,b) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue