doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
alctypes.h
Go to the documentation of this file.
1 #ifndef _ALCTYPES_H_
2 #define _ALCTYPES_H_
3 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
30 typedef char ALCboolean;
31 
33 typedef char ALCbyte;
34 
36 typedef unsigned char ALCubyte;
37 
39 typedef short ALCshort;
40 
42 typedef unsigned short ALCushort;
43 
45 typedef unsigned ALCuint;
46 
48 typedef int ALCint;
49 
51 typedef float ALCfloat;
52 
54 typedef double ALCdouble;
55 
57 typedef unsigned int ALCsizei;
58 
60 typedef void ALCvoid;
61 
63 typedef int ALCenum;
64 
65 /* Bad value. */
66 #define ALC_INVALID (-1)
67 
68 /* Boolean False. */
69 #define ALC_FALSE 0
70 
71 /* Boolean True. */
72 #define ALC_TRUE 1
73 
75 #define ALC_NO_ERROR ALC_FALSE
76 
77 #define ALC_MAJOR_VERSION 0x1000
78 #define ALC_MINOR_VERSION 0x1001
79 #define ALC_ATTRIBUTES_SIZE 0x1002
80 #define ALC_ALL_ATTRIBUTES 0x1003
81 
82 #define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
83 #define ALC_DEVICE_SPECIFIER 0x1005
84 #define ALC_EXTENSIONS 0x1006
85 
86 #define ALC_FREQUENCY 0x1007
87 #define ALC_REFRESH 0x1008
88 #define ALC_SYNC 0x1009
89 
93 #define ALC_INVALID_DEVICE 0xA001
94 
98 #define ALC_INVALID_CONTEXT 0xA002
99 
106 #define ALC_INVALID_ENUM 0xA003
107 
112 #define ALC_INVALID_VALUE 0xA004
113 
118 #define ALC_OUT_OF_MEMORY 0xA005
119 
120 #ifdef __cplusplus
121 }
122 #endif
123 
124 #endif
125 
void ALCvoid
ALC void type.
Definition: alctypes.h:60
unsigned char ALCubyte
ALC 8bit unsigned byte.
Definition: alctypes.h:36
unsigned short ALCushort
ALC 16bit unsigned short integer type.
Definition: alctypes.h:42
double ALCdouble
ALC 64bit double point type.
Definition: alctypes.h:54
unsigned int ALCsizei
ALC 32bit type.
Definition: alctypes.h:57
char ALCbyte
ALC 8bit signed byte.
Definition: alctypes.h:33
char ALCboolean
OpenAL cross platform audio library Copyright (C) 1999-2000 by authors.
Definition: alctypes.h:30
int ALCint
ALC 32bit signed integer type.
Definition: alctypes.h:48
short ALCshort
ALC 16bit signed short integer type.
Definition: alctypes.h:39
unsigned ALCuint
ALC 32bit unsigned integer type.
Definition: alctypes.h:45
int ALCenum
ALC enumerations.
Definition: alctypes.h:63
float ALCfloat
ALC 32bit floating point type.
Definition: alctypes.h:51