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 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
31 typedef char ALCboolean;
32 
34 typedef char ALCbyte;
35 
37 typedef unsigned char ALCubyte;
38 
40 typedef short ALCshort;
41 
43 typedef unsigned short ALCushort;
44 
46 typedef unsigned ALCuint;
47 
49 typedef int ALCint;
50 
52 typedef float ALCfloat;
53 
55 typedef double ALCdouble;
56 
58 typedef unsigned int ALCsizei;
59 
61 typedef void ALCvoid;
62 
64 typedef int ALCenum;
65 
66 /* Bad value. */
67 #define ALC_INVALID (-1)
68 
69 /* Boolean False. */
70 #define ALC_FALSE 0
71 
72 /* Boolean True. */
73 #define ALC_TRUE 1
74 
76 #define ALC_NO_ERROR ALC_FALSE
77 
78 #define ALC_MAJOR_VERSION 0x1000
79 #define ALC_MINOR_VERSION 0x1001
80 #define ALC_ATTRIBUTES_SIZE 0x1002
81 #define ALC_ALL_ATTRIBUTES 0x1003
82 
83 #define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
84 #define ALC_DEVICE_SPECIFIER 0x1005
85 #define ALC_EXTENSIONS 0x1006
86 
87 #define ALC_FREQUENCY 0x1007
88 #define ALC_REFRESH 0x1008
89 #define ALC_SYNC 0x1009
90 
94 #define ALC_INVALID_DEVICE 0xA001
95 
99 #define ALC_INVALID_CONTEXT 0xA002
100 
107 #define ALC_INVALID_ENUM 0xA003
108 
113 #define ALC_INVALID_VALUE 0xA004
114 
119 #define ALC_OUT_OF_MEMORY 0xA005
120 
121 
122 //*********************************************************************************
123 // OSX Specific Properties
124 //*********************************************************************************
125 
129 #define ALC_CONVERT_DATA_UPON_LOADING 0xF001
130 
134 #define ALC_SPATIAL_RENDERING_QUALITY 0xF002
135  #define ALC_SPATIAL_RENDERING_QUALITY_HIGH 'rqhi'
136  #define ALC_SPATIAL_RENDERING_QUALITY_LOW 'rdlo'
137 
141 #define ALC_MIXER_OUTPUT_RATE 0xF003
142 
149 #define ALC_MIXER_MAXIMUM_BUSSES 0xF004
150 
155 #define ALC_RENDER_CHANNEL_COUNT 0xF005
156  #define ALC_RENDER_CHANNEL_COUNT_STEREO 'rcst'
157  #define ALC_RENDER_CHANNEL_COUNT_MULTICHANNEL 'rcmc'
158 
159 
160 #ifdef __cplusplus
161 }
162 #endif
163 
164 #endif
165 
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