alsa: have slaved sink

When we are slaved, calculate our rate difference with the master
This commit is contained in:
Wim Taymans 2018-11-12 10:18:21 +01:00
parent 6f555c63e2
commit 416b9c254e
2 changed files with 56 additions and 19 deletions

View file

@ -122,6 +122,7 @@ struct state {
struct spa_source source;
int timerfd;
bool alsa_started;
bool slaved;
int threshold;
snd_htimestamp_t now;