pipewire/spa/plugins/alsa
Wim Taymans 37224ac84c alsa-seq: configure pool sizes better
The default kernel pool size on the input is 200 cells. A cell is
about 28 bytes long so the maximum message that can be received in one
go is about 5600 bytes. This causes problems when using amidi to upload
larger sysex messages because they simply can't be received by the
sequencer.

It if however possible to increase this limit with the set_client_pool()
function. Increase the pool size to at least the quantum_limit * 2.
This ensures we can receive and send at least 2 quantums of raw data,
which should be a fairly long sysex message.

Make a min and max value for the pool size. There is an upper limit of
2000 in the kernel but make this configurable and clamp the final
pool size to the min/max.

Make the MAX_EVENT_SIZE 256, because this is how the sequencer seems to
splits the input data as well and it results in less wasted space in the
output buffer.

See #4005
2024-05-13 15:25:52 +02:00
..
acp alsa: add sync.id in acp properties 2024-04-30 10:14:30 +02:00
mixer Add SOC-style jack names to HDMI audio paths 2024-03-01 09:33:55 +00:00
90-pipewire-alsa.rules Update 90-pipewire-alsa.rules with support for Astro Mixamp Pro TR. 2024-04-01 18:31:10 +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 alsa: improve acp device/node object paths 2024-03-18 11:41:37 +01:00
alsa-compress-offload-device.c alsa-compress-offload-device: notify observers when profile changes 2024-04-09 09:03:49 +00:00
alsa-compress-offload-sink.c alsa: use debug types instead of custom function 2024-01-30 12:19:13 +01:00
alsa-pcm-device.c alsa-pcm-device: notify observers when profile changes 2024-04-09 09:03:49 +00:00
alsa-pcm-sink.c alsa: increase buffers when using small buffer 2024-01-22 12:10:51 +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: read hw synced ring buffer position when caller is not the same pcm 2024-05-05 09:31:54 +00:00
alsa-pcm.h alsa-pcm: don't force quantum for iec958 formats 2024-04-30 09:34:19 +02:00
alsa-seq-bridge.c alsa-seq: configure pool sizes better 2024-05-13 15:25:52 +02:00
alsa-seq.c alsa-seq: configure pool sizes better 2024-05-13 15:25:52 +02:00
alsa-seq.h alsa-seq: configure pool sizes better 2024-05-13 15:25:52 +02:00
alsa-udev.c alsa: add option to skip the busy check 2024-03-22 12:42:48 +01:00
alsa.c meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01: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 meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +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