mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update examples.
This commit is contained in:
+14
-1
@@ -6,4 +6,17 @@ will be placed in the "bin" directory.
|
||||
|
||||
Then you can run executables like this:
|
||||
|
||||
../bin/simple_playback my_sound.wav
|
||||
../bin/simple_playback my_sound.wav
|
||||
|
||||
Emscripten
|
||||
----------
|
||||
On Windows, you need to move into the build and run emsdk_env.bat from a command prompt using an absolute
|
||||
path like "C:\emsdk\emsdk_env.bat". Note that PowerShell doesn't work for me for some reason. Then, run the
|
||||
relevant batch file:
|
||||
|
||||
ma_build_examples_emscripten.bat
|
||||
|
||||
The output will be placed in the bin folder. If you have output WASM it may not work when running the web
|
||||
page locally. To test you can run with something like this:
|
||||
|
||||
emrun ../bin/simple_playback_emscripten.html
|
||||
Reference in New Issue
Block a user