Add comments and README

This commit is contained in:
2024-10-10 20:53:49 +08:00
parent 7cc2f28241
commit 0b8f5a5620
3 changed files with 52 additions and 13 deletions
+14
View File
@@ -0,0 +1,14 @@
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](https://github.com/libsdl-org/SDL/issues/9706)
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.