From d0e7bac91ee97f48e8e11a54c56c48d050a10c46 Mon Sep 17 00:00:00 2001 From: miguel Date: Fri, 22 Sep 2017 19:14:34 +0200 Subject: added minimal template for browser version and audio testing --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 6978fdb..c2c9280 100644 --- a/main.cpp +++ b/main.cpp @@ -6,6 +6,7 @@ #endif #include +#include #include "World.h" @@ -70,8 +71,8 @@ void sdl_play_sound() // SDL_LoadWAV("music.wav", &wavSpec, &wavBuffer, &wavLength); // SDL_LoadWAV("win.wav", &wavSpec, &wavBuffer, &wavLength); -#ifndef __EMSCRIPTEN__ int success = SDL_QueueAudio(deviceId, wavBuffer, wavLength); +#ifndef __EMSCRIPTEN__ #endif //SDL_CloseAudioDevice(deviceId); -- cgit v1.2.3