Setting jack buffer size via CLI doesn't work
I'm using pipewire 0.3.28 on Archlinux.
I'm normally managing my patchbay via qjackctl to set up my desired connections. I also have a script that I run when I want to have mic loopback to connect the mic to the output sink, with a different script to disconnect it. I have it bound to a button in my system tray and it works beautifully. Having mic loopback with decent latency requires me to set up a low buffer size. I've done it with the jack.conf config file and it works. However, ideally I'd want to change this value via my script, according to whether I have the mic loopback on or off.
I know that there's a
jack_bufsize command to change the jack buffer size, but it doesn't work under pipewire. It always reports the value I set in the config file and setting a new one has no effect. I can change the buffer size via qjackctl and it works that way, but I cannot find a way to do it in a script.
Steps to Reproduce:
- Configure latency in
jack.confas 128/48000 (for example)
jack_bufsizeto check if it changed value
jack_bufsize always returns 128, regardless of the current value set through qjackctl. Also setting a new value doesn't work.
The buffer size should change with the