PipeWire as Bluetooth sink has audio stuttering heavily
This is happening on a RPi3. PipeWire is configured as a Bluetooth sink and everything played to it (e.g. by an Android phone) is played on attached USB speakers. However no matter what audio is played, it stutters and crackles heavily, making it unable to use properly.
pw-top
output:
S 28 0 0 --- --- --- --- 0 Dummy-Driver
S 29 0 0 --- --- --- --- 0 Freewheel-Driver
R 39 2048 48000 9.6ms 1.6ms 0.23 0.04 0 S16P 6 48000 alsa_output.usb-0d8c_USB_Sound_Device-00.analo
R 52 1200 48000 136.4us 305.6us 0.00 0.01 0 S16LE 6 48000 + PipeWire
R 76 512 48000 145.5us 9.3ms 0.00 0.22 0 S16LE 2 44100 + bluez_input.22_22_02_5A_81_E8.2
alsa_output.usb-0d8c_USB_Sound_Device-00.analo
has been cut off, but it's the name of the output device.
Interestingly enough audio played over the network using the pulseaudio-zeroconf thing plays flawlessly, it's just Bluetooth that has this issue.