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
2aa05be5
Commit
2aa05be5
authored
Dec 29, 2018
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable SDL on Emscripten to avoid compiler errors.
parent
36bd1374
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
mini_al.h
mini_al.h
+1
-2
tests/mal_test_0.c
tests/mal_test_0.c
+0
-1
No files found.
mini_al.h
View file @
2aa05be5
...
@@ -1205,10 +1205,9 @@ void mal_interleave_pcm_frames(mal_format format, mal_uint32 channels, mal_uint6
...
@@ -1205,10 +1205,9 @@ void mal_interleave_pcm_frames(mal_format format, mal_uint32 channels, mal_uint6
#define MAL_SUPPORT_WEBAUDIO
#define MAL_SUPPORT_WEBAUDIO
#endif
#endif
#define MAL_SUPPORT_SDL // All platforms support SDL.
// Explicitly disable OpenAL and Null backends for Emscripten because they both use a background thread which is not properly supported right now.
// Explicitly disable OpenAL and Null backends for Emscripten because they both use a background thread which is not properly supported right now.
#if !defined(MAL_EMSCRIPTEN)
#if !defined(MAL_EMSCRIPTEN)
#define MAL_SUPPORT_SDL
#define MAL_SUPPORT_OPENAL
#define MAL_SUPPORT_OPENAL
#define MAL_SUPPORT_NULL
#define MAL_SUPPORT_NULL
#endif
#endif
tests/mal_test_0.c
View file @
2aa05be5
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#include "../extras/stb_vorbis.c"
#include "../extras/stb_vorbis.c"
#endif
#endif
#define MAL_NO_SDL
#define MINI_AL_IMPLEMENTATION
#define MINI_AL_IMPLEMENTATION
#include "../mini_al.h"
#include "../mini_al.h"
...
...
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