mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -05:00
alsa: handle batch devices
For batch devices that are not usb devices, lower the period and add an extra period of heardoom to avoid xruns. See !330
This commit is contained in:
parent
6bc8ab18dc
commit
d71259a02c
2 changed files with 28 additions and 4 deletions
|
|
@ -142,6 +142,7 @@ struct state {
|
|||
int timerfd;
|
||||
uint32_t threshold;
|
||||
uint32_t last_threshold;
|
||||
uint32_t headroom;
|
||||
|
||||
uint32_t duration;
|
||||
uint32_t last_duration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue