Incorrect buffer size in Carla with Jack
- PipeWire version (
pipewire --version
): 0.3.71 (including ce71b37b) but also with latest master (abb30075).
Description of Problem:
PW seems to tell Carla to always expect a buffer size of 1024, but it sends data of other sizes, depending on what the graph is running at. This workflow functioned correctly with 0.3.70.
Bisecting it revealed 045cb95a to be the first bad commit.
How Reproducible:
Always
Steps to Reproduce:
- Make sure the graph isn't running at 1024 quantum
- Open Carla with Jack and host a plugin (in my case noise-suppression-for-voice LV2)
- Observe the log
Actual Results:
If quantum < 1024, then the following is spammed:
Carla assertion failure: "nframes == pData->bufferSize" in file CarlaEngineJack.cpp, line 2249, v1 256, v2 1024
If quantum > 1024:
Carla assertion failure: "nframes == pData->bufferSize" in file CarlaEngineJack.cpp, line 2249, v1 2048, v2 1024
free(): corrupted unsorted chunks
Aborted (core dumped)
Expected Results:
Audio works in Carla and it doesn't crash