5 * OpenAL cross platform audio library
6 * Copyright (C) 1999-2000 by authors.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 * Or go to http://www.gnu.org/copyleft/lgpl.html
29 /** ALC boolean type. */
30 typedef char ALCboolean;
32 /** ALC 8bit signed byte. */
35 /** ALC 8bit unsigned byte. */
36 typedef unsigned char ALCubyte;
38 /** ALC 16bit signed short integer type. */
39 typedef short ALCshort;
41 /** ALC 16bit unsigned short integer type. */
42 typedef unsigned short ALCushort;
44 /** ALC 32bit unsigned integer type. */
45 typedef unsigned ALCuint;
47 /** ALC 32bit signed integer type. */
50 /** ALC 32bit floating point type. */
51 typedef float ALCfloat;
53 /** ALC 64bit double point type. */
54 typedef double ALCdouble;
56 /** ALC 32bit type. */
57 typedef unsigned int ALCsizei;
62 /** ALC enumerations. */
66 #define ALC_INVALID (-1)
74 /** Errors: No Error. */
75 #define ALC_NO_ERROR ALC_FALSE
77 #define ALC_MAJOR_VERSION 0x1000
78 #define ALC_MINOR_VERSION 0x1001
79 #define ALC_ATTRIBUTES_SIZE 0x1002
80 #define ALC_ALL_ATTRIBUTES 0x1003
82 #define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
83 #define ALC_DEVICE_SPECIFIER 0x1005
84 #define ALC_EXTENSIONS 0x1006
86 #define ALC_FREQUENCY 0x1007
87 #define ALC_REFRESH 0x1008
88 #define ALC_SYNC 0x1009
91 * The device argument does not name a valid dvice.
93 #define ALC_INVALID_DEVICE 0xA001
96 * The context argument does not name a valid context.
98 #define ALC_INVALID_CONTEXT 0xA002
101 * A function was called at inappropriate time,
102 * or in an inappropriate way, causing an illegal state.
103 * This can be an incompatible ALenum, object ID,
106 #define ALC_INVALID_ENUM 0xA003
109 * Illegal value passed as an argument to an AL call.
110 * Applies to parameter values, but not to enumerations.
112 #define ALC_INVALID_VALUE 0xA004
115 * A function could not be completed,
116 * because there is not enough memory available.
118 #define ALC_OUT_OF_MEMORY 0xA005