Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
f8b635b9
Commit
f8b635b9
authored
Jan 14, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update backend notes for Emscripten.
Emscripten no longer supports the -std=c* and -ansi compiler flags.
parent
310135d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
examples/build/ma_build_examples_emscripten.bat
examples/build/ma_build_examples_emscripten.bat
+1
-1
miniaudio.h
miniaudio.h
+1
-0
No files found.
examples/build/ma_build_examples_emscripten.bat
View file @
f8b635b9
emcc
../simple_playback_emscripten.c
-o
../bin/simple_playback_emscripten.html
-s
WASM
=
0
-std
=
c89
-ansi -Wall
\ No newline at end of file
emcc
../simple_playback_emscripten.c
-o
../bin/simple_playback_emscripten.html
-s
WASM
=
0
-Wall
\ No newline at end of file
miniaudio.h
View file @
f8b635b9
...
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment