sdl: audio: add stub function for SDL_QueueAudio when using SDL2 with version prior to 2.0.4
package sdl
-// #include "sdl_wrapper.h"
+/*
+#include "sdl_wrapper.h"
+
+#if !(SDL_VERSION_ATLEAST(2,0,4))
+#pragma message("SDL_QueueAudio is not supported before SDL 2.0.4")
+static int SDL_QueueAudio(SDL_AudioDeviceID, const void *, Uint32)
+{
+ return -1;
+}
+#endif
+*/
import "C"
import (
"reflect"
