mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
alsa: improve capture slave resync
When we underrun, send out a buffer of 0 samples and catch up next time. Detect discont in the master and resync.
This commit is contained in:
parent
b43844e7c6
commit
5ac383e7f7
3 changed files with 46 additions and 32 deletions
|
|
@ -49,7 +49,6 @@ struct impl {
|
|||
|
||||
struct pw_work_queue *work;
|
||||
|
||||
uint32_t next_position;
|
||||
int last_error;
|
||||
|
||||
unsigned int pause_on_idle:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue