![]() |
doom3-gpl
Doom 3 GPL source release
|
Go to the source code of this file.
Macros | |
#define | AL_INVALID (-1) |
#define | AL_NONE 0 |
#define | AL_FALSE 0 |
#define | AL_TRUE 1 |
#define | AL_SOURCE_TYPE 0x200 |
Indicate the type of AL_SOURCE. More... | |
#define | AL_SOURCE_ABSOLUTE 0x201 |
Indicate source has absolute coordinates. More... | |
#define | AL_SOURCE_RELATIVE 0x202 |
Indicate Source has listener relative coordinates. More... | |
#define | AL_CONE_INNER_ANGLE 0x1001 |
Directional source, inner cone angle, in degrees. More... | |
#define | AL_CONE_OUTER_ANGLE 0x1002 |
Directional source, outer cone angle, in degrees. More... | |
#define | AL_PITCH 0x1003 |
Specify the pitch to be applied, either at source, or on mixer results, at listener. More... | |
#define | AL_POSITION 0x1004 |
Specify the current location in three dimensional space. More... | |
#define | AL_DIRECTION 0x1005 |
Specify the current direction as forward vector. More... | |
#define | AL_VELOCITY 0x1006 |
Specify the current velocity in three dimensional space. More... | |
#define | AL_LOOPING 0x1007 |
Indicate whether source has to loop infinite. More... | |
#define | AL_BUFFER 0x1009 |
Indicate the buffer to provide sound samples. More... | |
#define | AL_GAIN 0x100A |
Indicate the gain (volume amplification) applied. More... | |
#define | AL_MIN_GAIN 0x100D |
Indicate minimum source attenuation. More... | |
#define | AL_MAX_GAIN 0x100E |
Indicate maximum source attenuation. More... | |
#define | AL_ORIENTATION 0x100F |
Specify the current orientation. More... | |
#define | AL_REFERENCE_DISTANCE 0x1020 |
#define | AL_ROLLOFF_FACTOR 0x1021 |
Indicate the rolloff factor for the source. More... | |
#define | AL_CONE_OUTER_GAIN 0x1022 |
Indicate the gain (volume amplification) applied. More... | |
#define | AL_MAX_DISTANCE 0x1023 |
Specify the maximum distance. More... | |
#define | AL_CHANNEL_MASK 0x3000 |
Specify the channel mask. More... | |
#define | AL_SOURCE_STATE 0x1010 |
Source state information. More... | |
#define | AL_INITIAL 0x1011 |
#define | AL_PLAYING 0x1012 |
#define | AL_PAUSED 0x1013 |
#define | AL_STOPPED 0x1014 |
#define | AL_BUFFERS_QUEUED 0x1015 |
Buffer Queue params. More... | |
#define | AL_BUFFERS_PROCESSED 0x1016 |
#define | AL_FORMAT_MONO8 0x1100 |
Sound buffers: format specifier. More... | |
#define | AL_FORMAT_MONO16 0x1101 |
#define | AL_FORMAT_STEREO8 0x1102 |
#define | AL_FORMAT_STEREO16 0x1103 |
#define | AL_FREQUENCY 0x2001 |
Sound buffers: frequency, in units of Hertz [Hz]. More... | |
#define | AL_BITS 0x2002 |
#define | AL_CHANNELS 0x2003 |
#define | AL_SIZE 0x2004 |
#define | AL_DATA 0x2005 |
#define | AL_UNUSED 0x2010 |
Buffer state. More... | |
#define | AL_PENDING 0x2011 |
#define | AL_PROCESSED 0x2012 |
#define | AL_NO_ERROR AL_FALSE |
Errors: No Error. More... | |
#define | AL_INVALID_NAME 0xA001 |
Illegal name passed as an argument to an AL call. More... | |
#define | AL_INVALID_ENUM 0xA002 |
Illegal enum passed as an argument to an AL call. More... | |
#define | AL_INVALID_VALUE 0xA003 |
Illegal value passed as an argument to an AL call. More... | |
#define | AL_INVALID_OPERATION 0xA004 |
A function was called at inappropriate time, or in an inappropriate way, causing an illegal state. More... | |
#define | AL_OUT_OF_MEMORY 0xA005 |
A function could not be completed, because there is not enough memory available. More... | |
#define | AL_VENDOR 0xB001 |
Context strings: Vendor Name. More... | |
#define | AL_VERSION 0xB002 |
#define | AL_RENDERER 0xB003 |
#define | AL_EXTENSIONS 0xB004 |
#define | AL_DOPPLER_FACTOR 0xC000 |
Global tweakage. More... | |
#define | AL_DOPPLER_VELOCITY 0xC001 |
Doppler velocity. More... | |
#define | AL_DISTANCE_MODEL 0xD000 |
Distance model. More... | |
#define | AL_INVERSE_DISTANCE 0xD001 |
Distance models. More... | |
#define | AL_INVERSE_DISTANCE_CLAMPED 0xD002 |
Typedefs | |
typedef char | ALboolean = NULL |
OpenAL cross platform audio library Copyright (C) 1999-2000 by authors. More... | |
typedef char | ALbyte |
OpenAL 8bit signed byte. More... | |
typedef unsigned char | ALubyte |
OpenAL 8bit unsigned byte. More... | |
typedef short | ALshort |
OpenAL 16bit signed short integer type. More... | |
typedef unsigned short | ALushort |
OpenAL 16bit unsigned short integer type. More... | |
typedef unsigned | ALuint |
OpenAL 32bit unsigned integer type. More... | |
typedef int | ALint |
OpenAL 32bit signed integer type. More... | |
typedef float | ALfloat = NULL |
OpenAL 32bit floating point type. More... | |
typedef double | ALdouble |
OpenAL 64bit double point type. More... | |
typedef unsigned int | ALsizei = NULL |
OpenAL 32bit type. More... | |
typedef void | ALvoid = NULL |
OpenAL void type. More... | |
typedef int | ALenum = NULL |
OpenAL enumerations. More... | |
#define AL_BUFFER 0x1009 |
#define AL_CHANNEL_MASK 0x3000 |
#define AL_CONE_INNER_ANGLE 0x1001 |
#define AL_CONE_OUTER_ANGLE 0x1002 |
#define AL_CONE_OUTER_GAIN 0x1022 |
Indicate the gain (volume amplification) applied.
Type: ALfloat. Range: ]0.0- ] A value of 1.0 means un-attenuated/unchanged. Each division by 2 equals an attenuation of -6dB. Each multiplicaton with 2 equals an amplification of +6dB. A value of 0.0 is meaningless with respect to a logarithmic scale; it is interpreted as zero volume - the channel is effectively disabled.
#define AL_DIRECTION 0x1005 |
#define AL_DISTANCE_MODEL 0xD000 |
#define AL_DOPPLER_FACTOR 0xC000 |
#define AL_DOPPLER_VELOCITY 0xC001 |
#define AL_FORMAT_MONO8 0x1100 |
#define AL_FREQUENCY 0x2001 |
#define AL_GAIN 0x100A |
Indicate the gain (volume amplification) applied.
Type: ALfloat. Range: ]0.0- ] A value of 1.0 means un-attenuated/unchanged. Each division by 2 equals an attenuation of -6dB. Each multiplicaton with 2 equals an amplification of +6dB. A value of 0.0 is meaningless with respect to a logarithmic scale; it is interpreted as zero volume - the channel is effectively disabled.
#define AL_INVALID_ENUM 0xA002 |
#define AL_INVALID_NAME 0xA001 |
#define AL_INVALID_OPERATION 0xA004 |
#define AL_INVALID_VALUE 0xA003 |
#define AL_LOOPING 0x1007 |
#define AL_MAX_DISTANCE 0x1023 |
#define AL_MAX_GAIN 0x100E |
#define AL_MIN_GAIN 0x100D |
#define AL_ORIENTATION 0x100F |
#define AL_OUT_OF_MEMORY 0xA005 |
#define AL_PITCH 0x1003 |
#define AL_POSITION 0x1004 |
Specify the current location in three dimensional space.
OpenAL, like OpenGL, uses a right handed coordinate system, where in a frontal default view X (thumb) points right, Y points up (index finger), and Z points towards the viewer/camera (middle finger). To switch from a left handed coordinate system, flip the sign on the Z coordinate. Listener position is always in the world coordinate system.
#define AL_ROLLOFF_FACTOR 0x1021 |
#define AL_SOURCE_ABSOLUTE 0x201 |
#define AL_SOURCE_RELATIVE 0x202 |
#define AL_SOURCE_TYPE 0x200 |
#define AL_UNUSED 0x2010 |
#define AL_VELOCITY 0x1006 |
OpenAL cross platform audio library Copyright (C) 1999-2000 by authors.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Or go to http://www.gnu.org/copyleft/lgpl.htmlOpenAL boolean type.
typedef short ALshort |
typedef unsigned ALuint |
typedef unsigned short ALushort |