You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
463 B

#ifdef __APPLE__
# include "OpenAL/al.h"
# include "OpenAL/alc.h"
#else
# include <AL/al.h>
# include <AL/alc.h>
#endif
#include <stdio.h>
int main()
{
/* Reference an AL symbol without requiring a context at runtime. */
printf("AL_VERSION: %s\n", alGetString(AL_VERSION));
/* Reference an ALC symbol without requiring a context at runtime. */
printf("ALC_DEVICE_SPECIFIER: %s\n",
alcGetString(NULL, ALC_DEVICE_SPECIFIER));
return 0;
}