doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
alc.h
Go to the documentation of this file.
1 #ifndef _ALC_H_
2 #define _ALC_H_
3 
4 #include "altypes.h"
5 #include "alctypes.h"
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 #ifdef _WIN32
12  #ifdef _OPENAL32LIB
13  #define ALCAPI __declspec(dllexport)
14  #else
15  #define ALCAPI __declspec(dllimport)
16  #endif
17 
18  typedef struct ALCdevice_struct ALCdevice;
19  typedef struct ALCcontext_struct ALCcontext;
20 
21  #define ALCAPIENTRY __cdecl
22 #else
23  #ifdef TARGET_OS_MAC
24  #if TARGET_OS_MAC
25  #pragma export on
26  #endif
27  #endif
28  #define ALCAPI
29  #define ALCAPIENTRY __cdecl
30 #endif
31 
32 
33 
34 #ifndef ALC_NO_PROTOTYPES
35 
38 
41 
49 
51 
55 
56 #else /* ALC_NO_PROTOTYPES */
57 
60 
63 
71 
73 
77 
78 #endif /* AL_NO_PROTOTYPES */
79 
80 #ifdef TARGET_OS_MAC
81  #if TARGET_OS_MAC
82  #pragma export off
83  #endif
84 #endif
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif
91 
void ALCvoid
ALC void type.
Definition: alctypes.h:60
ALCAPI ALCcontext *ALCAPIENTRY alcGetCurrentContext(ALCvoid)
ALCAPI ALCvoid ALCAPIENTRY alcSuspendContext(ALCcontext *context)
Definition: stubs.cpp:47
ALCAPI ALCubyte *ALCAPIENTRY alcGetString(ALCdevice *device, ALCenum param)
Definition: stubs.cpp:77
unsigned char ALCubyte
ALC 8bit unsigned byte.
Definition: alctypes.h:36
GLfloat param
Definition: glext.h:3038
ALCAPI ALCenum ALCAPIENTRY alcGetEnumValue(ALCdevice *device, ALCubyte *enumName)
unsigned char ALubyte
OpenAL 8bit unsigned byte.
Definition: altypes.h:36
unsigned int ALCsizei
ALC 32bit type.
Definition: alctypes.h:57
ALCAPI ALCvoid ALCAPIENTRY alcProcessContext(ALCcontext *context)
Definition: stubs.cpp:69
ALCAPI ALCvoid ALCAPIENTRY alcCloseDevice(ALCdevice *device)
Definition: stubs.cpp:120
ALCAPI ALCvoid *ALCAPIENTRY alcGetProcAddress(ALCdevice *device, ALCubyte *funcName)
#define ALCAPIENTRY
Definition: alc.h:29
char ALCboolean
OpenAL cross platform audio library Copyright (C) 1999-2000 by authors.
Definition: alctypes.h:30
ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data)
int ALCint
ALC 32bit signed integer type.
Definition: alctypes.h:48
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:2853
ALCvoid ALCdevice
Definition: alc.h:28
ALCAPI ALCboolean ALCAPIENTRY alcIsExtensionPresent(ALCdevice *device, ALCubyte *extName)
ALCAPI ALCdevice *ALCAPIENTRY alcOpenDevice(ALCubyte *deviceName)
Definition: stubs.cpp:108
#define context
Definition: getdate.c:236
ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context)
Definition: stubs.cpp:73
GLsizeiptr size
Definition: glext.h:3112
ALCvoid ALCcontext
Definition: alc.h:29
int ALCenum
ALC enumerations.
Definition: alctypes.h:63
ALCAPI ALCboolean ALCAPIENTRY alcMakeContextCurrent(ALCcontext *context)
Definition: stubs.cpp:65
ALCAPI ALCenum ALCAPIENTRY alcGetError(ALCdevice *device)
#define ALCAPI
Definition: alc.h:28
ALCAPI ALCcontext *ALCAPIENTRY alcCreateContext(ALCdevice *device, ALCint *attrList)
ALCAPI ALCdevice *ALCAPIENTRY alcGetContextsDevice(ALCcontext *context)