comparison src/openal-test.c @ 1235:7e9f957b3239

package openal: combine patch files, portability fixes, and add test program
author Tony Theodore <tonyt@logyst.com>
date Fri, 01 Oct 2010 02:03:08 +1000
parents
children f653602a0500
comparison
equal deleted inserted replaced
1234:3c63edcea6db 1235:7e9f957b3239
1 /* This file is part of mingw-cross-env. */
2 /* See doc/index.html for further information. */
3
4 #include <AL/alc.h>
5
6 int main(int argc, char **argv)
7 {
8 ALCdevice *dev;
9 ALCcontext *ctx;
10
11 (void)argc;
12 (void)argv;
13
14 dev = alcOpenDevice(0);
15 ctx = alcCreateContext(dev, 0);
16
17 alcDestroyContext(ctx);
18 alcCloseDevice(dev);
19
20 return 0;
21 }