[pulse replacement libs] SDL2 audio sample has choppy audio
Small SDL2 audio example adapted from pipewire's audio-src.c example that has broken audio on pipewire with the pulse replacement libs:
sdltest.c
run with
SDL_AUDIODRIVER=pulse ./sdltest
to be sure SDL2 is using the pulse backend (which should be the default)
Opening pavucontrol while the example is running seems to fix the audio until it is closed again. I've also checked with pulse-bridge instead of the replacement libs and it seems to be fine there. Not sure if pulse-bridge is intended to superseded the replacement libs eventually, in that case I'll stop annoying you with issues about them :)