Go to file
2024-11-09 15:14:22 +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 Refactor texture code + start splitting networking into threads. 2024-11-08 22:46:33 +08:00
makefile Change const to #define + cleanup 2024-10-13 23:03:27 +08:00
net.c Uncomment return and don't close peer socket if created 2024-11-05 20:59:11 +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 NULL pointer after free 2024-11-09 15:14:22 +08:00
texture.h Refactor texture code + start splitting networking into threads. 2024-11-08 22:46: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.