zdoom-macos-deps/test/openal.cpp
2022-09-11 15:49:12 +03:00

11 lines
218 B
C++

#include <AL/alc.h>
int main()
{
ALCdevice* device = alcOpenDevice(0);
AEDI_EXPECT(device != nullptr);
AEDI_EXPECT(alcGetError(device) == 0);
AEDI_EXPECT(alcCloseDevice(device) == 1);
return 0;
}