mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
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 |
||
|---|---|---|
| .. | ||
| acp | ||
| mixer | ||
| 90-pipewire-alsa.rules | ||
| acp-tool.c | ||
| alsa-acp-device.c | ||
| alsa-compress-offload-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-util.c | ||
| compress-offload-api-util.h | ||
| compress-offload-api.c | ||
| compress-offload-api.h | ||
| meson.build | ||
| test-hw-params.c | ||
| test-timer.c | ||