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
mixer
90-pipewire-alsa.rules
acp-tool.c
alsa-acp-device.c
alsa-compress-offload-sink.c
alsa-pcm-device.c
alsa-pcm-sink.c
alsa-pcm-source.c
alsa-pcm.c
alsa-pcm.h
alsa-seq-bridge.c
alsa-seq.c
alsa-seq.h
alsa-udev.c
alsa.c
alsa.h
compress-offload-api.c
compress-offload-api.h
meson.build
test-hw-params.c
test-timer.c