mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: have slaved sink
When we are slaved, calculate our rate difference with the master
This commit is contained in:
parent
6f555c63e2
commit
416b9c254e
2 changed files with 56 additions and 19 deletions
|
|
@ -122,6 +122,7 @@ struct state {
|
|||
struct spa_source source;
|
||||
int timerfd;
|
||||
bool alsa_started;
|
||||
bool slaved;
|
||||
int threshold;
|
||||
|
||||
snd_htimestamp_t now;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue