mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Update backend notes for Emscripten.
Emscripten no longer supports the -std=c* and -ansi compiler flags.
This commit is contained in:
@@ -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
|
||||||
@@ -320,6 +320,7 @@ UWP
|
|||||||
|
|
||||||
Web Audio / Emscripten
|
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
|
- 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.
|
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.
|
- Currently the Web Audio backend uses ScriptProcessorNode's, but this may need to change later as they've been deprecated.
|
||||||
|
|||||||
Reference in New Issue
Block a user