summaryrefslogtreecommitdiffstats
path: root/src/openal-test.c
blob: 59f08cd94366c1b44bde1a4c7c904d3336bced32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}