annotate lib/OpenAL/al.h @ 2397:eff78dab2142

Fixing GameUI_WritePointedObjectStatusString conditions
author Grumpy7
date Thu, 10 Jul 2014 00:58:45 +0200
parents 992d2e6f907d
children
rev   line source
2134
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
1 #ifndef AL_AL_H
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
2 #define AL_AL_H
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
3
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
4
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
5
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
6 #if defined(__cplusplus)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
7 extern "C" {
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
8 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
9
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
10 #if defined(_WIN32) && !defined(_XBOX)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
11 /* _OPENAL32LIB is deprecated */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
12 #if defined(AL_BUILD_LIBRARY) || defined (_OPENAL32LIB)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
13 #define AL_API __declspec(dllexport)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
14 #else
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
15 #define AL_API __declspec(dllimport)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
16 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
17 #else
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
18 #define AL_API extern
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
19 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
20
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
21 #if defined(_WIN32)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
22 #define AL_APIENTRY __cdecl
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
23 #else
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
24 #define AL_APIENTRY
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
25 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
26
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
27 #if TARGET_OS_MAC
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
28 #pragma export on
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
29 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
30
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
31 /* The OPENAL, ALAPI, and ALAPIENTRY macros are deprecated, but are included for applications porting code
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
32 from AL 1.0 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
33 #define OPENAL
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
34 #define ALAPI AL_API
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
35 #define ALAPIENTRY AL_APIENTRY
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
36
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
37 #define AL_VERSION_1_0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
38 #define AL_VERSION_1_1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
39
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
40
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
41 /** 8-bit boolean */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
42 typedef char ALboolean;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
43
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
44 /** character */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
45 typedef char ALchar;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
46
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
47 /** signed 8-bit 2's complement integer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
48 typedef char ALbyte;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
49
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
50 /** unsigned 8-bit integer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
51 typedef unsigned char ALubyte;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
52
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
53 /** signed 16-bit 2's complement integer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
54 typedef short ALshort;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
55
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
56 /** unsigned 16-bit integer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
57 typedef unsigned short ALushort;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
58
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
59 /** signed 32-bit 2's complement integer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
60 typedef int ALint;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
61
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
62 /** unsigned 32-bit integer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
63 typedef unsigned int ALuint;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
64
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
65 /** non-negative 32-bit binary integer size */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
66 typedef int ALsizei;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
67
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
68 /** enumerated 32-bit value */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
69 typedef int ALenum;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
70
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
71 /** 32-bit IEEE754 floating-point */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
72 typedef float ALfloat;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
73
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
74 /** 64-bit IEEE754 floating-point */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
75 typedef double ALdouble;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
76
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
77 /** void type (for opaque pointers only) */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
78 typedef void ALvoid;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
79
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
80
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
81 /* Enumerant values begin at column 50. No tabs. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
82
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
83 /* bad value */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
84 #define AL_INVALID -1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
85
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
86 #define AL_NONE 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
87
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
88 /* Boolean False. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
89 #define AL_FALSE 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
90
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
91 /** Boolean True. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
92 #define AL_TRUE 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
93
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
94 /** Indicate Source has relative coordinates. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
95 #define AL_SOURCE_RELATIVE 0x202
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
96
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
97
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
98
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
99 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
100 * Directional source, inner cone angle, in degrees.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
101 * Range: [0-360]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
102 * Default: 360
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
103 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
104 #define AL_CONE_INNER_ANGLE 0x1001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
105
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
106 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
107 * Directional source, outer cone angle, in degrees.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
108 * Range: [0-360]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
109 * Default: 360
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
110 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
111 #define AL_CONE_OUTER_ANGLE 0x1002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
112
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
113 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
114 * Specify the pitch to be applied, either at source,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
115 * or on mixer results, at listener.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
116 * Range: [0.5-2.0]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
117 * Default: 1.0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
118 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
119 #define AL_PITCH 0x1003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
120
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
121 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
122 * Specify the current location in three dimensional space.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
123 * OpenAL, like OpenGL, uses a right handed coordinate system,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
124 * where in a frontal default view X (thumb) points right,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
125 * Y points up (index finger), and Z points towards the
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
126 * viewer/camera (middle finger).
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
127 * To switch from a left handed coordinate system, flip the
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
128 * sign on the Z coordinate.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
129 * Listener position is always in the world coordinate system.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
130 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
131 #define AL_POSITION 0x1004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
132
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
133 /** Specify the current direction. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
134 #define AL_DIRECTION 0x1005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
135
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
136 /** Specify the current velocity in three dimensional space. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
137 #define AL_VELOCITY 0x1006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
138
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
139 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
140 * Indicate whether source is looping.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
141 * Type: ALboolean?
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
142 * Range: [AL_TRUE, AL_FALSE]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
143 * Default: FALSE.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
144 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
145 #define AL_LOOPING 0x1007
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
146
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
147 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
148 * Indicate the buffer to provide sound samples.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
149 * Type: ALuint.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
150 * Range: any valid Buffer id.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
151 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
152 #define AL_BUFFER 0x1009
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
153
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
154 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
155 * Indicate the gain (volume amplification) applied.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
156 * Type: ALfloat.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
157 * Range: ]0.0- ]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
158 * A value of 1.0 means un-attenuated/unchanged.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
159 * Each division by 2 equals an attenuation of -6dB.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
160 * Each multiplicaton with 2 equals an amplification of +6dB.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
161 * A value of 0.0 is meaningless with respect to a logarithmic
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
162 * scale; it is interpreted as zero volume - the channel
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
163 * is effectively disabled.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
164 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
165 #define AL_GAIN 0x100A
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
166
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
167 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
168 * Indicate minimum source attenuation
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
169 * Type: ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
170 * Range: [0.0 - 1.0]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
171 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
172 * Logarthmic
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
173 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
174 #define AL_MIN_GAIN 0x100D
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
175
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
176 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
177 * Indicate maximum source attenuation
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
178 * Type: ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
179 * Range: [0.0 - 1.0]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
180 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
181 * Logarthmic
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
182 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
183 #define AL_MAX_GAIN 0x100E
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
184
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
185 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
186 * Indicate listener orientation.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
187 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
188 * at/up
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
189 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
190 #define AL_ORIENTATION 0x100F
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
191
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
192 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
193 * Specify the channel mask. (Creative)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
194 * Type: ALuint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
195 * Range: [0 - 255]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
196 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
197 #define AL_CHANNEL_MASK 0x3000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
198
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
199
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
200 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
201 * Source state information.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
202 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
203 #define AL_SOURCE_STATE 0x1010
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
204 #define AL_INITIAL 0x1011
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
205 #define AL_PLAYING 0x1012
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
206 #define AL_PAUSED 0x1013
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
207 #define AL_STOPPED 0x1014
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
208
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
209 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
210 * Buffer Queue params
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
211 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
212 #define AL_BUFFERS_QUEUED 0x1015
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
213 #define AL_BUFFERS_PROCESSED 0x1016
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
214
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
215 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
216 * Source buffer position information
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
217 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
218 #define AL_SEC_OFFSET 0x1024
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
219 #define AL_SAMPLE_OFFSET 0x1025
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
220 #define AL_BYTE_OFFSET 0x1026
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
221
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
222 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
223 * Source type (Static, Streaming or undetermined)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
224 * Source is Static if a Buffer has been attached using AL_BUFFER
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
225 * Source is Streaming if one or more Buffers have been attached using alSourceQueueBuffers
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
226 * Source is undetermined when it has the NULL buffer attached
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
227 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
228 #define AL_SOURCE_TYPE 0x1027
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
229 #define AL_STATIC 0x1028
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
230 #define AL_STREAMING 0x1029
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
231 #define AL_UNDETERMINED 0x1030
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
232
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
233 /** Sound samples: format specifier. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
234 #define AL_FORMAT_MONO8 0x1100
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
235 #define AL_FORMAT_MONO16 0x1101
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
236 #define AL_FORMAT_STEREO8 0x1102
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
237 #define AL_FORMAT_STEREO16 0x1103
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
238
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
239 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
240 * source specific reference distance
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
241 * Type: ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
242 * Range: 0.0 - +inf
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
243 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
244 * At 0.0, no distance attenuation occurs. Default is
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
245 * 1.0.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
246 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
247 #define AL_REFERENCE_DISTANCE 0x1020
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
248
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
249 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
250 * source specific rolloff factor
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
251 * Type: ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
252 * Range: 0.0 - +inf
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
253 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
254 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
255 #define AL_ROLLOFF_FACTOR 0x1021
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
256
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
257 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
258 * Directional source, outer cone gain.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
259 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
260 * Default: 0.0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
261 * Range: [0.0 - 1.0]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
262 * Logarithmic
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
263 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
264 #define AL_CONE_OUTER_GAIN 0x1022
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
265
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
266 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
267 * Indicate distance above which sources are not
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
268 * attenuated using the inverse clamped distance model.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
269 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
270 * Default: +inf
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
271 * Type: ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
272 * Range: 0.0 - +inf
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
273 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
274 #define AL_MAX_DISTANCE 0x1023
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
275
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
276 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
277 * Sound samples: frequency, in units of Hertz [Hz].
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
278 * This is the number of samples per second. Half of the
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
279 * sample frequency marks the maximum significant
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
280 * frequency component.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
281 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
282 #define AL_FREQUENCY 0x2001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
283 #define AL_BITS 0x2002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
284 #define AL_CHANNELS 0x2003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
285 #define AL_SIZE 0x2004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
286
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
287 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
288 * Buffer state.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
289 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
290 * Not supported for public use (yet).
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
291 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
292 #define AL_UNUSED 0x2010
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
293 #define AL_PENDING 0x2011
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
294 #define AL_PROCESSED 0x2012
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
295
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
296
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
297 /** Errors: No Error. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
298 #define AL_NO_ERROR AL_FALSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
299
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
300 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
301 * Invalid Name paramater passed to AL call.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
302 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
303 #define AL_INVALID_NAME 0xA001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
304
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
305 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
306 * Invalid parameter passed to AL call.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
307 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
308 #define AL_ILLEGAL_ENUM 0xA002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
309 #define AL_INVALID_ENUM 0xA002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
310
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
311 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
312 * Invalid enum parameter value.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
313 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
314 #define AL_INVALID_VALUE 0xA003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
315
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
316 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
317 * Illegal call.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
318 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
319 #define AL_ILLEGAL_COMMAND 0xA004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
320 #define AL_INVALID_OPERATION 0xA004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
321
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
322
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
323 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
324 * No mojo.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
325 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
326 #define AL_OUT_OF_MEMORY 0xA005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
327
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
328
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
329 /** Context strings: Vendor Name. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
330 #define AL_VENDOR 0xB001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
331 #define AL_VERSION 0xB002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
332 #define AL_RENDERER 0xB003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
333 #define AL_EXTENSIONS 0xB004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
334
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
335 /** Global tweakage. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
336
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
337 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
338 * Doppler scale. Default 1.0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
339 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
340 #define AL_DOPPLER_FACTOR 0xC000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
341
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
342 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
343 * Tweaks speed of propagation.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
344 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
345 #define AL_DOPPLER_VELOCITY 0xC001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
346
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
347 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
348 * Speed of Sound in units per second
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
349 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
350 #define AL_SPEED_OF_SOUND 0xC003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
351
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
352 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
353 * Distance models
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
354 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
355 * used in conjunction with DistanceModel
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
356 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
357 * implicit: NONE, which disances distance attenuation.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
358 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
359 #define AL_DISTANCE_MODEL 0xD000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
360 #define AL_INVERSE_DISTANCE 0xD001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
361 #define AL_INVERSE_DISTANCE_CLAMPED 0xD002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
362 #define AL_LINEAR_DISTANCE 0xD003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
363 #define AL_LINEAR_DISTANCE_CLAMPED 0xD004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
364 #define AL_EXPONENT_DISTANCE 0xD005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
365 #define AL_EXPONENT_DISTANCE_CLAMPED 0xD006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
366
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
367
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
368 #if !defined(AL_NO_PROTOTYPES)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
369
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
370 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
371 * Renderer State management
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
372 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
373 AL_API void AL_APIENTRY alEnable( ALenum capability );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
374
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
375 AL_API void AL_APIENTRY alDisable( ALenum capability );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
376
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
377 AL_API ALboolean AL_APIENTRY alIsEnabled( ALenum capability );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
378
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
379
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
380 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
381 * State retrieval
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
382 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
383 AL_API const ALchar* AL_APIENTRY alGetString( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
384
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
385 AL_API void AL_APIENTRY alGetBooleanv( ALenum param, ALboolean* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
386
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
387 AL_API void AL_APIENTRY alGetIntegerv( ALenum param, ALint* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
388
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
389 AL_API void AL_APIENTRY alGetFloatv( ALenum param, ALfloat* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
390
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
391 AL_API void AL_APIENTRY alGetDoublev( ALenum param, ALdouble* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
392
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
393 AL_API ALboolean AL_APIENTRY alGetBoolean( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
394
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
395 AL_API ALint AL_APIENTRY alGetInteger( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
396
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
397 AL_API ALfloat AL_APIENTRY alGetFloat( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
398
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
399 AL_API ALdouble AL_APIENTRY alGetDouble( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
400
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
401
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
402 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
403 * Error support.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
404 * Obtain the most recent error generated in the AL state machine.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
405 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
406 AL_API ALenum AL_APIENTRY alGetError( void );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
407
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
408
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
409 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
410 * Extension support.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
411 * Query for the presence of an extension, and obtain any appropriate
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
412 * function pointers and enum values.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
413 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
414 AL_API ALboolean AL_APIENTRY alIsExtensionPresent( const ALchar* extname );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
415
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
416 AL_API void* AL_APIENTRY alGetProcAddress( const ALchar* fname );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
417
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
418 AL_API ALenum AL_APIENTRY alGetEnumValue( const ALchar* ename );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
419
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
420
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
421 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
422 * LISTENER
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
423 * Listener represents the location and orientation of the
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
424 * 'user' in 3D-space.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
425 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
426 * Properties include: -
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
427 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
428 * Gain AL_GAIN ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
429 * Position AL_POSITION ALfloat[3]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
430 * Velocity AL_VELOCITY ALfloat[3]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
431 * Orientation AL_ORIENTATION ALfloat[6] (Forward then Up vectors)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
432 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
433
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
434 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
435 * Set Listener parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
436 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
437 AL_API void AL_APIENTRY alListenerf( ALenum param, ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
438
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
439 AL_API void AL_APIENTRY alListener3f( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
440
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
441 AL_API void AL_APIENTRY alListenerfv( ALenum param, const ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
442
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
443 AL_API void AL_APIENTRY alListeneri( ALenum param, ALint value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
444
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
445 AL_API void AL_APIENTRY alListener3i( ALenum param, ALint value1, ALint value2, ALint value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
446
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
447 AL_API void AL_APIENTRY alListeneriv( ALenum param, const ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
448
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
449 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
450 * Get Listener parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
451 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
452 AL_API void AL_APIENTRY alGetListenerf( ALenum param, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
453
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
454 AL_API void AL_APIENTRY alGetListener3f( ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
455
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
456 AL_API void AL_APIENTRY alGetListenerfv( ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
457
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
458 AL_API void AL_APIENTRY alGetListeneri( ALenum param, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
459
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
460 AL_API void AL_APIENTRY alGetListener3i( ALenum param, ALint *value1, ALint *value2, ALint *value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
461
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
462 AL_API void AL_APIENTRY alGetListeneriv( ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
463
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
464
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
465 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
466 * SOURCE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
467 * Sources represent individual sound objects in 3D-space.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
468 * Sources take the PCM data provided in the specified Buffer,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
469 * apply Source-specific modifications, and then
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
470 * submit them to be mixed according to spatial arrangement etc.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
471 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
472 * Properties include: -
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
473 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
474 * Gain AL_GAIN ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
475 * Min Gain AL_MIN_GAIN ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
476 * Max Gain AL_MAX_GAIN ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
477 * Position AL_POSITION ALfloat[3]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
478 * Velocity AL_VELOCITY ALfloat[3]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
479 * Direction AL_DIRECTION ALfloat[3]
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
480 * Head Relative Mode AL_SOURCE_RELATIVE ALint (AL_TRUE or AL_FALSE)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
481 * Reference Distance AL_REFERENCE_DISTANCE ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
482 * Max Distance AL_MAX_DISTANCE ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
483 * RollOff Factor AL_ROLLOFF_FACTOR ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
484 * Inner Angle AL_CONE_INNER_ANGLE ALint or ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
485 * Outer Angle AL_CONE_OUTER_ANGLE ALint or ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
486 * Cone Outer Gain AL_CONE_OUTER_GAIN ALint or ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
487 * Pitch AL_PITCH ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
488 * Looping AL_LOOPING ALint (AL_TRUE or AL_FALSE)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
489 * MS Offset AL_MSEC_OFFSET ALint or ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
490 * Byte Offset AL_BYTE_OFFSET ALint or ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
491 * Sample Offset AL_SAMPLE_OFFSET ALint or ALfloat
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
492 * Attached Buffer AL_BUFFER ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
493 * State (Query only) AL_SOURCE_STATE ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
494 * Buffers Queued (Query only) AL_BUFFERS_QUEUED ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
495 * Buffers Processed (Query only) AL_BUFFERS_PROCESSED ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
496 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
497
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
498 /* Create Source objects */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
499 AL_API void AL_APIENTRY alGenSources( ALsizei n, ALuint* sources );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
500
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
501 /* Delete Source objects */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
502 AL_API void AL_APIENTRY alDeleteSources( ALsizei n, const ALuint* sources );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
503
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
504 /* Verify a handle is a valid Source */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
505 AL_API ALboolean AL_APIENTRY alIsSource( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
506
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
507 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
508 * Set Source parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
509 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
510 AL_API void AL_APIENTRY alSourcef( ALuint sid, ALenum param, ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
511
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
512 AL_API void AL_APIENTRY alSource3f( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
513
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
514 AL_API void AL_APIENTRY alSourcefv( ALuint sid, ALenum param, const ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
515
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
516 AL_API void AL_APIENTRY alSourcei( ALuint sid, ALenum param, ALint value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
517
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
518 AL_API void AL_APIENTRY alSource3i( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
519
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
520 AL_API void AL_APIENTRY alSourceiv( ALuint sid, ALenum param, const ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
521
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
522 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
523 * Get Source parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
524 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
525 AL_API void AL_APIENTRY alGetSourcef( ALuint sid, ALenum param, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
526
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
527 AL_API void AL_APIENTRY alGetSource3f( ALuint sid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
528
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
529 AL_API void AL_APIENTRY alGetSourcefv( ALuint sid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
530
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
531 AL_API void AL_APIENTRY alGetSourcei( ALuint sid, ALenum param, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
532
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
533 AL_API void AL_APIENTRY alGetSource3i( ALuint sid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
534
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
535 AL_API void AL_APIENTRY alGetSourceiv( ALuint sid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
536
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
537
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
538 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
539 * Source vector based playback calls
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
540 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
541
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
542 /* Play, replay, or resume (if paused) a list of Sources */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
543 AL_API void AL_APIENTRY alSourcePlayv( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
544
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
545 /* Stop a list of Sources */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
546 AL_API void AL_APIENTRY alSourceStopv( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
547
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
548 /* Rewind a list of Sources */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
549 AL_API void AL_APIENTRY alSourceRewindv( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
550
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
551 /* Pause a list of Sources */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
552 AL_API void AL_APIENTRY alSourcePausev( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
553
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
554 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
555 * Source based playback calls
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
556 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
557
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
558 /* Play, replay, or resume a Source */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
559 AL_API void AL_APIENTRY alSourcePlay( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
560
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
561 /* Stop a Source */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
562 AL_API void AL_APIENTRY alSourceStop( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
563
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
564 /* Rewind a Source (set playback postiton to beginning) */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
565 AL_API void AL_APIENTRY alSourceRewind( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
566
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
567 /* Pause a Source */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
568 AL_API void AL_APIENTRY alSourcePause( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
569
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
570 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
571 * Source Queuing
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
572 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
573 AL_API void AL_APIENTRY alSourceQueueBuffers( ALuint sid, ALsizei numEntries, const ALuint *bids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
574
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
575 AL_API void AL_APIENTRY alSourceUnqueueBuffers( ALuint sid, ALsizei numEntries, ALuint *bids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
576
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
577
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
578 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
579 * BUFFER
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
580 * Buffer objects are storage space for sample data.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
581 * Buffers are referred to by Sources. One Buffer can be used
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
582 * by multiple Sources.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
583 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
584 * Properties include: -
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
585 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
586 * Frequency (Query only) AL_FREQUENCY ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
587 * Size (Query only) AL_SIZE ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
588 * Bits (Query only) AL_BITS ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
589 * Channels (Query only) AL_CHANNELS ALint
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
590 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
591
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
592 /* Create Buffer objects */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
593 AL_API void AL_APIENTRY alGenBuffers( ALsizei n, ALuint* buffers );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
594
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
595 /* Delete Buffer objects */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
596 AL_API void AL_APIENTRY alDeleteBuffers( ALsizei n, const ALuint* buffers );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
597
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
598 /* Verify a handle is a valid Buffer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
599 AL_API ALboolean AL_APIENTRY alIsBuffer( ALuint bid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
600
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
601 /* Specify the data to be copied into a buffer */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
602 AL_API void AL_APIENTRY alBufferData( ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
603
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
604 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
605 * Set Buffer parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
606 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
607 AL_API void AL_APIENTRY alBufferf( ALuint bid, ALenum param, ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
608
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
609 AL_API void AL_APIENTRY alBuffer3f( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
610
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
611 AL_API void AL_APIENTRY alBufferfv( ALuint bid, ALenum param, const ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
612
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
613 AL_API void AL_APIENTRY alBufferi( ALuint bid, ALenum param, ALint value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
614
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
615 AL_API void AL_APIENTRY alBuffer3i( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
616
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
617 AL_API void AL_APIENTRY alBufferiv( ALuint bid, ALenum param, const ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
618
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
619 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
620 * Get Buffer parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
621 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
622 AL_API void AL_APIENTRY alGetBufferf( ALuint bid, ALenum param, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
623
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
624 AL_API void AL_APIENTRY alGetBuffer3f( ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
625
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
626 AL_API void AL_APIENTRY alGetBufferfv( ALuint bid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
627
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
628 AL_API void AL_APIENTRY alGetBufferi( ALuint bid, ALenum param, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
629
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
630 AL_API void AL_APIENTRY alGetBuffer3i( ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
631
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
632 AL_API void AL_APIENTRY alGetBufferiv( ALuint bid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
633
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
634
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
635 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
636 * Global Parameters
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
637 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
638 AL_API void AL_APIENTRY alDopplerFactor( ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
639
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
640 AL_API void AL_APIENTRY alDopplerVelocity( ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
641
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
642 AL_API void AL_APIENTRY alSpeedOfSound( ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
643
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
644 AL_API void AL_APIENTRY alDistanceModel( ALenum distanceModel );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
645
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
646 #else /* AL_NO_PROTOTYPES */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
647
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
648 typedef void (AL_APIENTRY *LPALENABLE)( ALenum capability );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
649 typedef void (AL_APIENTRY *LPALDISABLE)( ALenum capability );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
650 typedef ALboolean (AL_APIENTRY *LPALISENABLED)( ALenum capability );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
651 typedef const ALchar* (AL_APIENTRY *LPALGETSTRING)( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
652 typedef void (AL_APIENTRY *LPALGETBOOLEANV)( ALenum param, ALboolean* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
653 typedef void (AL_APIENTRY *LPALGETINTEGERV)( ALenum param, ALint* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
654 typedef void (AL_APIENTRY *LPALGETFLOATV)( ALenum param, ALfloat* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
655 typedef void (AL_APIENTRY *LPALGETDOUBLEV)( ALenum param, ALdouble* data );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
656 typedef ALboolean (AL_APIENTRY *LPALGETBOOLEAN)( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
657 typedef ALint (AL_APIENTRY *LPALGETINTEGER)( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
658 typedef ALfloat (AL_APIENTRY *LPALGETFLOAT)( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
659 typedef ALdouble (AL_APIENTRY *LPALGETDOUBLE)( ALenum param );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
660 typedef ALenum (AL_APIENTRY *LPALGETERROR)( void );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
661 typedef ALboolean (AL_APIENTRY *LPALISEXTENSIONPRESENT)(const ALchar* extname );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
662 typedef void* (AL_APIENTRY *LPALGETPROCADDRESS)( const ALchar* fname );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
663 typedef ALenum (AL_APIENTRY *LPALGETENUMVALUE)( const ALchar* ename );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
664 typedef void (AL_APIENTRY *LPALLISTENERF)( ALenum param, ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
665 typedef void (AL_APIENTRY *LPALLISTENER3F)( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
666 typedef void (AL_APIENTRY *LPALLISTENERFV)( ALenum param, const ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
667 typedef void (AL_APIENTRY *LPALLISTENERI)( ALenum param, ALint value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
668 typedef void (AL_APIENTRY *LPALLISTENER3I)( ALenum param, ALint value1, ALint value2, ALint value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
669 typedef void (AL_APIENTRY *LPALLISTENERIV)( ALenum param, const ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
670 typedef void (AL_APIENTRY *LPALGETLISTENERF)( ALenum param, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
671 typedef void (AL_APIENTRY *LPALGETLISTENER3F)( ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
672 typedef void (AL_APIENTRY *LPALGETLISTENERFV)( ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
673 typedef void (AL_APIENTRY *LPALGETLISTENERI)( ALenum param, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
674 typedef void (AL_APIENTRY *LPALGETLISTENER3I)( ALenum param, ALint *value1, ALint *value2, ALint *value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
675 typedef void (AL_APIENTRY *LPALGETLISTENERIV)( ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
676 typedef void (AL_APIENTRY *LPALGENSOURCES)( ALsizei n, ALuint* sources );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
677 typedef void (AL_APIENTRY *LPALDELETESOURCES)( ALsizei n, const ALuint* sources );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
678 typedef ALboolean (AL_APIENTRY *LPALISSOURCE)( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
679 typedef void (AL_APIENTRY *LPALSOURCEF)( ALuint sid, ALenum param, ALfloat value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
680 typedef void (AL_APIENTRY *LPALSOURCE3F)( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
681 typedef void (AL_APIENTRY *LPALSOURCEFV)( ALuint sid, ALenum param, const ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
682 typedef void (AL_APIENTRY *LPALSOURCEI)( ALuint sid, ALenum param, ALint value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
683 typedef void (AL_APIENTRY *LPALSOURCE3I)( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
684 typedef void (AL_APIENTRY *LPALSOURCEIV)( ALuint sid, ALenum param, const ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
685 typedef void (AL_APIENTRY *LPALGETSOURCEF)( ALuint sid, ALenum param, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
686 typedef void (AL_APIENTRY *LPALGETSOURCE3F)( ALuint sid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
687 typedef void (AL_APIENTRY *LPALGETSOURCEFV)( ALuint sid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
688 typedef void (AL_APIENTRY *LPALGETSOURCEI)( ALuint sid, ALenum param, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
689 typedef void (AL_APIENTRY *LPALGETSOURCE3I)( ALuint sid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
690 typedef void (AL_APIENTRY *LPALGETSOURCEIV)( ALuint sid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
691 typedef void (AL_APIENTRY *LPALSOURCEPLAYV)( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
692 typedef void (AL_APIENTRY *LPALSOURCESTOPV)( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
693 typedef void (AL_APIENTRY *LPALSOURCEREWINDV)( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
694 typedef void (AL_APIENTRY *LPALSOURCEPAUSEV)( ALsizei ns, const ALuint *sids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
695 typedef void (AL_APIENTRY *LPALSOURCEPLAY)( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
696 typedef void (AL_APIENTRY *LPALSOURCESTOP)( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
697 typedef void (AL_APIENTRY *LPALSOURCEREWIND)( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
698 typedef void (AL_APIENTRY *LPALSOURCEPAUSE)( ALuint sid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
699 typedef void (AL_APIENTRY *LPALSOURCEQUEUEBUFFERS)(ALuint sid, ALsizei numEntries, const ALuint *bids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
700 typedef void (AL_APIENTRY *LPALSOURCEUNQUEUEBUFFERS)(ALuint sid, ALsizei numEntries, ALuint *bids );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
701 typedef void (AL_APIENTRY *LPALGENBUFFERS)( ALsizei n, ALuint* buffers );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
702 typedef void (AL_APIENTRY *LPALDELETEBUFFERS)( ALsizei n, const ALuint* buffers );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
703 typedef ALboolean (AL_APIENTRY *LPALISBUFFER)( ALuint bid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
704 typedef void (AL_APIENTRY *LPALBUFFERDATA)( ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
705 typedef void (AL_APIENTRY *LPALBUFFERF)( ALuint bid, ALenum param, ALfloat value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
706 typedef void (AL_APIENTRY *LPALBUFFER3F)( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
707 typedef void (AL_APIENTRY *LPALBUFFERFV)( ALuint bid, ALenum param, const ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
708 typedef void (AL_APIENTRY *LPALBUFFERI)( ALuint bid, ALenum param, ALint value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
709 typedef void (AL_APIENTRY *LPALBUFFER3I)( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
710 typedef void (AL_APIENTRY *LPALBUFFERIV)( ALuint bid, ALenum param, const ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
711 typedef void (AL_APIENTRY *LPALGETBUFFERF)( ALuint bid, ALenum param, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
712 typedef void (AL_APIENTRY *LPALGETBUFFER3F)( ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
713 typedef void (AL_APIENTRY *LPALGETBUFFERFV)( ALuint bid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
714 typedef void (AL_APIENTRY *LPALGETBUFFERI)( ALuint bid, ALenum param, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
715 typedef void (AL_APIENTRY *LPALGETBUFFER3I)( ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
716 typedef void (AL_APIENTRY *LPALGETBUFFERIV)( ALuint bid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
717 typedef void (AL_APIENTRY *LPALDOPPLERFACTOR)( ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
718 typedef void (AL_APIENTRY *LPALDOPPLERVELOCITY)( ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
719 typedef void (AL_APIENTRY *LPALSPEEDOFSOUND)( ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
720 typedef void (AL_APIENTRY *LPALDISTANCEMODEL)( ALenum distanceModel );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
721
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
722 #endif /* AL_NO_PROTOTYPES */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
723
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
724 #if TARGET_OS_MAC
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
725 #pragma export off
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
726 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
727
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
728 #if defined(__cplusplus)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
729 } /* extern "C" */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
730 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
731
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
732 #endif /* AL_AL_H */