alsa: link driver and follower

When we are using the same clock (!matching) try to link the two PCM
devices together. This starts and stops the devices at the same time and
gives better latency.
This commit is contained in:
Wim Taymans 2023-09-11 11:04:49 +02:00
parent 4568d90565
commit 20db9e2d70
3 changed files with 83 additions and 12 deletions

View file

@ -213,6 +213,7 @@ struct state {
unsigned int htimestamp:1;
unsigned int is_pro:1;
unsigned int sources_added:1;
unsigned int linked:1;
uint64_t iec958_codecs;