mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-23 12:22:40 +00:00
add openal test
This commit is contained in:
parent
3b245850c3
commit
9ed489e1fc
1 changed files with 11 additions and 0 deletions
11
test/openal.cpp
Normal file
11
test/openal.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue