Go to file
2024-10-13 14:06:35 +08:00
example-test-code Clean up and update audiotest.c 2024-10-11 03:32:15 +08:00
.astylerc Initial commit 2024-10-10 20:11:57 +08:00
.editorconfig Initial commit 2024-10-10 20:11:57 +08:00
.gitignore Update .gitignore 2024-10-13 14:04:57 +08:00
FiraCode-Regular.ttf Initial commit 2024-10-10 20:11:57 +08:00
log.c Initial commit 2024-10-10 20:11:57 +08:00
log.h Initial commit 2024-10-10 20:11:57 +08:00
main.c Better manage devices/memory management 2024-10-13 14:06:35 +08:00
makefile Initial commit 2024-10-10 20:11:57 +08:00
README.md Add comments and README 2024-10-10 20:53:49 +08:00

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.

Maybe related GitHub issue

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.