view src/openal-test.c @ 1338:05454031ca40

fix checksum of package libsamplerate
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 23 Oct 2010 09:27:36 +0200
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;
}