Go to file
2024-11-05 00:57:12 +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 Move SDL_CloseAudioDevice() audio.c + rename audio device pause 2024-11-04 22:40:48 +08:00
audio.h Move SDL_CloseAudioDevice() audio.c + rename audio device pause 2024-11-04 22:40:48 +08:00
FiraCode-Regular.ttf Initial commit 2024-10-10 20:11:57 +08:00
log.c Update logging to also print to stdout + replace printf to logging. 2024-10-15 01:36:02 +08:00
log.h Update logging to also print to stdout + replace printf to logging. 2024-10-15 01:36:02 +08:00
main.c Implement basic UDP broadcast/discovery 2024-11-05 00:57:12 +08:00
makefile Change const to #define + cleanup 2024-10-13 23:03:27 +08:00
net.c Implement basic UDP broadcast/discovery 2024-11-05 00:57:12 +08:00
net.h Implement basic UDP broadcast/discovery 2024-11-05 00:57:12 +08:00
README.md Add comments and README 2024-10-10 20:53:49 +08:00
texture.c Update logging to also print to stdout + replace printf to logging. 2024-10-15 01:36:02 +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.