summaryrefslogtreecommitdiffstats
path: root/src/openal-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openal-test.c')
-rw-r--r--src/openal-test.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/openal-test.c b/src/openal-test.c
new file mode 100644
index 0000000..59f08cd
--- /dev/null
+++ b/src/openal-test.c
@@ -0,0 +1,21 @@
+/* This file is part of mingw-cross-env. */
+/* See doc/index.html for further information. */
+
+#include <AL/alc.h>
+
+int main(int argc, char **argv)
+{
+ ALCdevice *dev;
+ ALCcontext *ctx;
+
+ (void)argc;
+ (void)argv;
+
+ dev = alcOpenDevice(0);
+ ctx = alcCreateContext(dev, 0);
+
+ alcDestroyContext(ctx);
+ alcCloseDevice(dev);
+
+ return 0;
+} \ No newline at end of file