summaryrefslogtreecommitdiff
path: root/WasmAudio
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2021-07-06 09:15:36 +0100
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2021-07-06 09:15:36 +0100
commit17daec9b5e991afb2ae3b3ff33c02e705ea94abd (patch)
tree1d71ba482484c22179a89f7e66510644b06ec62c /WasmAudio
parent3e32bd0a0b24d26f3db086da327491123840a16a (diff)
downloadWasmAudio-17daec9b5e991afb2ae3b3ff33c02e705ea94abd.tar.gz
WasmAudio-17daec9b5e991afb2ae3b3ff33c02e705ea94abd.zip
Initial commit
Diffstat (limited to 'WasmAudio')
-rw-r--r--WasmAudio/main.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/WasmAudio/main.c b/WasmAudio/main.c
index 4e27973..b031629 100644
--- a/WasmAudio/main.c
+++ b/WasmAudio/main.c
@@ -6,6 +6,37 @@
//
#include <stdio.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <strings.h>
+#include <getopt.h>
+#include <signal.h>
+#include <fcntl.h>
+#include <pthread.h>
+
+
+
+#if __EMSCRIPTEN__
+#include <emscripten/emscripten.h>
+#include <SDL/SDL.h>
+#include <SDL/SDL_ttf.h>
+#include <GLES2/gl2.h>
+#else
+ #include <SDL2/SDL.h>
+ #ifdef __APPLE__
+ #include <SDL2_ttf/SDL_ttf.h>
+ #else
+ #include <SDL2/SDL_ttf.h>
+ #endif
+ //how to use on mac?
+ //#include <GLES2/gl2.h>
+#endif
+
+
+
+
int main(int argc, const char * argv[]) {
// insert code here...