Update backend notes for Emscripten.

Emscripten no longer supports the -std=c* and -ansi compiler flags.
This commit is contained in:
David Reid
2020-01-14 20:46:31 +10:00
parent 310135d756
commit f8b635b972
2 changed files with 2 additions and 1 deletions
@@ -1 +1 @@
emcc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten.html -s WASM=0 -std=c89 -ansi -Wall
emcc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten.html -s WASM=0 -Wall
+1
View File
@@ -320,6 +320,7 @@ UWP
Web Audio / Emscripten
----------------------
- You cannot use -std=c* compiler flags, nor -ansi. This only applies to the Emscripten build.
- The first time a context is initialized it will create a global object called "miniaudio" whose primary purpose is to act
as a factory for device objects.
- Currently the Web Audio backend uses ScriptProcessorNode's, but this may need to change later as they've been deprecated.