diff options
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ #endif #include <SDL.h> +#include <SDL_audio.h> #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); |
