Go to file
2024-10-13 23:03:27 +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
audio.c Change const to #define + cleanup 2024-10-13 23:03:27 +08:00
audio.h Change const to #define + cleanup 2024-10-13 23:03:27 +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 Refactor audio and texture into own files 2024-10-13 22:43:33 +08:00
main.c Change const to #define + cleanup 2024-10-13 23:03:27 +08:00
makefile Change const to #define + cleanup 2024-10-13 23:03:27 +08:00
README.md Add comments and README 2024-10-10 20:53:49 +08:00
texture.c Refactor audio and texture into own files 2024-10-13 22:43:33 +08:00
texture.h Refactor audio and texture into own files 2024-10-13 22:43:33 +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.