Demo in the browser: https://8observer8.github.io/examples/sdl3/play-audio-sdl-3.3.4-c/
EXE for Windows 10, 64-bit: play-audio-sdl3-3.3.4-c-exe.zip
- Zip size: 1.58 MB
- Unzipped: 3.43 MB
WASM ( built with Emscripten 4.0.15):
index.html— 1.32 KBapp.js— 183 KBapp.wasm— 1.53 MB- Total: 1.71 MB
EXE (built with MinGW GCC 11.2):
- EXE — 53.5 KB
SDL3.dll(v3.3.4) — 2.65 MBSDL3_mixer.dll(v3.1.0) — 304 KB- Assets (picked-coin-echo-2.wav) — 444 KB
- Total: 3.43 MB
- MinGW GCC 11.2 (zip - 178 MB, unzipped - 671 MB)
- SDL3-3.3.4-win32-x64.zip (zip - 0.98 MB, unzipped - 2.4 MB)
- SDL3-devel-3.3.4-mingw.zip (zip - 2.35 MB, unzipped - 8.55 MB)
- SDL3_mixer-3.1.0-win32-x64.zip (zip - 138 KB, unzipped - 304 KB)
- SDL3_mixer-devel-3.1.0-mingw.zip (zip - 184 KB, unzipped - 513 KB)
- Emscripten 4.0.15 (1.82 GB)
- SDL3-devel-3.3.4-wasm.zip (zip - 1.21 MB, unzipped - 5.2 MB)
- SDL3_mixer-devel-3.1.0-wasm.zip (zip - 163 KB, unzipped - 444 KB)
- Add MinGW GCC 11.2
binfolder to yourPATH. - Add SDL3-3.3.4-win32-x64.zip folder to your
PATH. - Add SDL3_mixer-3.1.0-win32-x64.zip folder to your
PATH. - Configure paths in
config-web.batfor your SDL3 libraries. - From the project root, run:
config-exe
build-exe
run-exe- Set up Emscripten 4.0.15 and Node.js
- Install http-server globally:
npm i http-server -g- Configure paths in
config-web.batfor your SDL3 libraries. - From the project root, run:
config-web
build-web
http-server -c-1- Open your browser and go to http://localhost:8080 to run the app locally.
Note: You can also run the WASM app on Android via Wi-Fi using http-server. After starting the server, it will show local URL addresses — just type one into your mobile browser.