2ef08b6b1b309761335dc3b639fbfa42fc4fcb32
Fixed by moving SDL_AudioSpec definition to init() function.
Make run to compile and run
make run
I'm using the whole new pipewire + wireplumber audio stack, which has compatibility with pulse audio.
Seems like there is SDL_AUDIODRIVER=alsa environment variable that SDL can
use. I don't think my code works with this enabled.
I'm using SDL2 version 2.28.5. Downgrading from 2.30.7 seems to make it work a bit better, but still not consistent.
Description
Languages
C
98.5%
Makefile
1.5%