pipewire/spa/plugins/alsa
Wim Taymans a7322d5043 alsa: improve target delay in ALSA
Don't just limit the max delay of samples we keep in the ALSA ringbuffer
to the buffer_size but to half of it. Make this into a max_delay
variable.

If we have a buffer size of 8192 samples and a headroom of 8192 samples,
when capturing, we would wait for the ringbuffer to contain at least
8192 samples, which would always xrun. When we limit the size to
half, we can still read the data without xruns.

Fixes #2972
2023-03-03 14:59:38 +01:00
..
acp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
mixer alsa-mixer: Asus Xonar SE supports digital 5.1 2022-11-17 15:41:29 +03:00
90-pipewire-alsa.rules Add support for GSX 1000 v2 2023-01-13 12:19:30 +00:00
acp-tool.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-acp-device.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-compress-offload-sink.c spa: alsa: fix spa_log_trace_fp() args 2023-02-25 20:17:51 +01:00
alsa-pcm-device.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-pcm-sink.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-pcm-source.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-pcm.c alsa: improve target delay in ALSA 2023-03-03 14:59:38 +01:00
alsa-pcm.h alsa: improve target delay in ALSA 2023-03-03 14:59:38 +01:00
alsa-seq-bridge.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-seq.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-seq.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-udev.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
compress-offload-api.c alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
compress-offload-api.h alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
meson.build alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
test-hw-params.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-timer.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00