mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: increase max periods
We can easily split the buffer into smaller periods and get a lower latency overall. See #1697
This commit is contained in:
parent
75ae86bf13
commit
26e789124f
1 changed files with 1 additions and 1 deletions
|
|
@ -1010,7 +1010,7 @@ static int pipewire_set_hw_constraint(snd_pcm_pipewire_t *pw, int rate,
|
|||
min_period_bytes,
|
||||
max_period_bytes)) < 0 ||
|
||||
(err = snd_pcm_ioplug_set_param_minmax(&pw->io, SND_PCM_IOPLUG_HW_PERIODS,
|
||||
MIN_BUFFERS, MAX_BUFFERS)) < 0) {
|
||||
MIN_BUFFERS, 1024)) < 0) {
|
||||
pw_log_warn("Can't set param list: %s", snd_strerror(err));
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue