add openal test

This commit is contained in:
alexey.lysiuk 2022-09-11 15:49:12 +03:00
parent 3b245850c3
commit 9ed489e1fc

11
test/openal.cpp Normal file
View file

@ -0,0 +1,11 @@
#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;
}