How to stop PulseAudio apps from forcing low latency/buffer sizes
Hi, I want to use a higher buffer size for mixing in Ardour, however sometimes PulseAudio apps are blocking me from doing so.
As an example: Discord. While Discord is running (and I'm in a voice chat) it forces pipewire to run at a buffer size of 256, which is very low for mixing. When increasing the buffer size in Ardour, it doesn't work but will stay at this low latency. Only after disconnecting from the voice channel in Discord the latency / buffer size will change in Ardour, so I can continue mixing again. While using Discord and Ardour, the audio interface always runs at a buffer size of 256, which causes crackling (xruns). It looks like this in pw-top
:
The newest update of KDE Plasma (5.22.0) made it even worse. Now I can't use buffersizes >1024 at all anymore. This is because Plasma now always keeps a PulseAudio client running, which keeps forcing a max buffer size of 1024 on pipewire. It looks like this in Carla:
Only when I disconnect Plasma from my monitor node: Ardour can run at buffer sizes >1024 again.
Is there some way to forbid PulseAudio apps to force such low latencies for all other apps?