mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-12-13 13:51:05 +00:00
12 lines
218 B
C++
12 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;
|
||
|
}
|