World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
4 #if defined(__cplusplus)
9 #if defined(AL_LIBTYPE_STATIC)
12 #define ALC_API __declspec(dllimport)
14 #define ALC_API extern
19 #define ALC_APIENTRY __cdecl
26 #define ALCAPI ALC_API
27 #define ALCAPIENTRY ALC_APIENTRY
31 #define ALC_VERSION_0_1 1
87 #define ALC_FREQUENCY 0x1007
90 #define ALC_REFRESH 0x1008
93 #define ALC_SYNC 0x1009
96 #define ALC_MONO_SOURCES 0x1010
99 #define ALC_STEREO_SOURCES 0x1011
102 #define ALC_NO_ERROR 0
105 #define ALC_INVALID_DEVICE 0xA001
108 #define ALC_INVALID_CONTEXT 0xA002
111 #define ALC_INVALID_ENUM 0xA003
114 #define ALC_INVALID_VALUE 0xA004
117 #define ALC_OUT_OF_MEMORY 0xA005
121 #define ALC_MAJOR_VERSION 0x1000
122 #define ALC_MINOR_VERSION 0x1001
125 #define ALC_ATTRIBUTES_SIZE 0x1002
126 #define ALC_ALL_ATTRIBUTES 0x1003
129 #define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
136 #define ALC_DEVICE_SPECIFIER 0x1005
138 #define ALC_EXTENSIONS 0x1006
142 #define ALC_EXT_CAPTURE 1
149 #define ALC_CAPTURE_DEVICE_SPECIFIER 0x310
151 #define ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER 0x311
153 #define ALC_CAPTURE_SAMPLES 0x312
157 #define ALC_ENUMERATE_ALL_EXT 1
159 #define ALC_DEFAULT_ALL_DEVICES_SPECIFIER 0x1012
166 #define ALC_ALL_DEVICES_SPECIFIER 0x1013
233 #if defined(__cplusplus)
const ALC_API ALCchar *ALC_APIENTRY alcGetString(ALCdevice *device, ALCenum param)
ALC_API void ALC_APIENTRY alcProcessContext(ALCcontext *context)
ALC_API void ALC_APIENTRY alcDestroyContext(ALCcontext *context)
ALC_API void ALC_APIENTRY alcCaptureStart(ALCdevice *device)
ALCdevice *(ALC_APIENTRY * LPALCCAPTUREOPENDEVICE)(const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize)
ALCboolean(ALC_APIENTRY * LPALCCAPTURECLOSEDEVICE)(ALCdevice *device)
ALC_API void ALC_APIENTRY alcCaptureSamples(ALCdevice *device, ALCvoid *buffer, ALCsizei samples)
void(ALC_APIENTRY * LPALCSUSPENDCONTEXT)(ALCcontext *context)
GLenum GLsizei GLsizei GLint * values
void(ALC_APIENTRY * LPALCCAPTURESAMPLES)(ALCdevice *device, ALCvoid *buffer, ALCsizei samples)
ALC_API void ALC_APIENTRY alcSuspendContext(ALCcontext *context)
ALC_API ALCenum ALC_APIENTRY alcGetError(ALCdevice *device)
ALC_API ALCboolean ALC_APIENTRY alcCaptureCloseDevice(ALCdevice *device)
EGLContext EGLenum EGLClientBuffer buffer
ALCcontext *(ALC_APIENTRY * LPALCGETCURRENTCONTEXT)(void)
ALC_API void ALC_APIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *values)
void(ALC_APIENTRY * LPALCDESTROYCONTEXT)(ALCcontext *context)
void(ALC_APIENTRY * LPALCCAPTURESTART)(ALCdevice *device)
ALCboolean(ALC_APIENTRY * LPALCMAKECONTEXTCURRENT)(ALCcontext *context)
ALCboolean(ALC_APIENTRY * LPALCISEXTENSIONPRESENT)(ALCdevice *device, const ALCchar *extname)
void(ALC_APIENTRY * LPALCGETINTEGERV)(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *values)
ALC_API void ALC_APIENTRY alcCaptureStop(ALCdevice *device)
ALCcontext *(ALC_APIENTRY * LPALCCREATECONTEXT)(ALCdevice *device, const ALCint *attrlist)
ALCenum(ALC_APIENTRY * LPALCGETENUMVALUE)(ALCdevice *device, const ALCchar *enumname)
ALCdevice *(ALC_APIENTRY * LPALCOPENDEVICE)(const ALCchar *devicename)
ALC_API ALCdevice *ALC_APIENTRY alcOpenDevice(const ALCchar *devicename)
void(ALC_APIENTRY * LPALCCAPTURESTOP)(ALCdevice *device)
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
struct ALCcontext ALCcontext
ALC_API ALCdevice *ALC_APIENTRY alcGetContextsDevice(ALCcontext *context)
void(ALC_APIENTRY * LPALCPROCESSCONTEXT)(ALCcontext *context)
ALC_API ALCboolean ALC_APIENTRY alcCloseDevice(ALCdevice *device)
ALC_API ALCcontext *ALC_APIENTRY alcGetCurrentContext(void)
ALC_API ALCdevice *ALC_APIENTRY alcCaptureOpenDevice(const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize)
ALCenum(ALC_APIENTRY * LPALCGETERROR)(ALCdevice *device)
ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent(ALCcontext *context)
ALCboolean(ALC_APIENTRY * LPALCCLOSEDEVICE)(ALCdevice *device)
ALC_API ALCcontext *ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCint *attrlist)
ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent(ALCdevice *device, const ALCchar *extname)
ALCdevice *(ALC_APIENTRY * LPALCGETCONTEXTSDEVICE)(ALCcontext *context)
ALC_API void *ALC_APIENTRY alcGetProcAddress(ALCdevice *device, const ALCchar *funcname)
struct ALCdevice ALCdevice
void *(ALC_APIENTRY * LPALCGETPROCADDRESS)(ALCdevice *device, const ALCchar *funcname)
ALC_API ALCenum ALC_APIENTRY alcGetEnumValue(ALCdevice *device, const ALCchar *enumname)
const typedef ALCchar *ALC_APIENTRY * LPALCGETSTRING(ALCdevice *device, ALCenum param)