pipewire/spa/plugins/alsa
Wim Taymans 6ee48f0562 alsa: increase buffers when using small buffer
We can increase the MAX_LATENCY again if we increase the amount of
buffers when we are using a small buffer.

Normally we ask for 4 * quantum-limit as the buffer. This should be good
to use 1 buffer and quantum-limit as the quantum with enough headroom
to not run out of buffers.

If we are however using less buffer-frames we need to be careful and
allocate an extra buffer. Imagine using a buffer of 4096 frames, we can
support a quantum of up to 2048 frames if we use 2 buffers.

See #3744
2024-01-22 16:05:52 +01:00
..
acp acp: avoid copying structure into itself 2023-12-04 11:19:08 +01:00
mixer alsa-card-profiles: simplify adding custom profiles 2023-08-23 10:06:16 +00: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 spa: use dynamic builder where we can 2023-10-11 18:04:17 +02:00
alsa-compress-offload-device.c spa: alsa: compress-offload: use spa_assert_not_reached() 2023-11-06 19:01:20 +01:00
alsa-compress-offload-sink.c treewide: use spa_assert_not_reached() instead of assert(false) 2023-09-16 17:50:25 +02:00
alsa-pcm-device.c alsa-pcm-device: Minor logging improvements 2023-09-02 08:28:22 +00:00
alsa-pcm-sink.c alsa: increase buffers when using small buffer 2024-01-22 16:05:52 +01:00
alsa-pcm-source.c alsa: Move ctl sources to a main loop 2023-11-22 16:00:25 +00:00
alsa-pcm.c alsa: increase buffers when using small buffer 2024-01-22 16:05:52 +01:00
alsa-pcm.h alsa: Move ctl sources to a main loop 2023-11-22 16:00:25 +00:00
alsa-seq-bridge.c spa: small cleanups 2024-01-10 13:25:35 +01:00
alsa-seq.c alsa: fix rate matching in the sequencer 2023-12-05 15:37:02 +01:00
alsa-seq.h alsa: fix rate matching in the sequencer 2023-12-05 15:37:02 +01:00
alsa-udev.c alsa: Ignore PCM devices with udev env ACP_IGNORE 2023-10-14 14:14:10 +09:00
alsa.c spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
alsa.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
compress-offload-api-util.c alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +00:00
compress-offload-api-util.h alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +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: Add device object and udev based autodetection 2023-09-02 08:28:22 +00:00
meson.build alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +00: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