diff src/sdl_mixer-test.c @ 736:9232c79dac70

bugfix and test program for package sdl_mixer
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 14 Feb 2010 19:59:37 +0100
parents
children 35a9e556c82c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/sdl_mixer-test.c	Sun Feb 14 19:59:37 2010 +0100
@@ -0,0 +1,16 @@
+/* This file is part of mingw-cross-env.       */
+/* See doc/index.html for further information. */
+
+#include <SDL_mixer.h>
+
+int main(int argc, char* argv[])
+{
+    int initted;
+
+    (void)argc;
+    (void)argv;
+
+    initted = Mix_Init(MIX_INIT_FLAC | MIX_INIT_OGG | MIX_INIT_MOD);
+    Mix_Quit();
+    return 0;
+}