zdoom-macos-deps/test/openal.cpp

12 lines
218 B
C++
Raw Permalink Normal View History

2022-09-11 12:49:12 +00:00
#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;
}