view src/openal-test.c @ 2256:da0152b208dc

package openexr: explicit pthreads dependency
author Mark Brand <mabrand@mabrand.nl>
date Sat, 25 Feb 2012 16:07:56 +0100
parents 7e9f957b3239
children f653602a0500
line wrap: on
line source

/* 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;
}