zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
al.h File Reference

Go to the source code of this file.

Macros

#define AL_API   extern
 
#define AL_APIENTRY
 
#define AL_BITS   0x2002
 
#define AL_BUFFER   0x1009
 
#define AL_BUFFERS_PROCESSED   0x1016
 
#define AL_BUFFERS_QUEUED   0x1015
 
#define AL_BYTE_OFFSET   0x1026
 
#define AL_CHANNELS   0x2003
 
#define AL_CONE_INNER_ANGLE   0x1001
 
#define AL_CONE_OUTER_ANGLE   0x1002
 
#define AL_CONE_OUTER_GAIN   0x1022
 
#define AL_DIRECTION   0x1005
 
#define AL_DISTANCE_MODEL   0xD000
 
#define AL_DOPPLER_FACTOR   0xC000
 
#define AL_DOPPLER_VELOCITY   0xC001
 
#define AL_EXPONENT_DISTANCE   0xD005
 
#define AL_EXPONENT_DISTANCE_CLAMPED   0xD006
 
#define AL_EXTENSIONS   0xB004
 
#define AL_FALSE   0
 
#define AL_FORMAT_MONO16   0x1101
 
#define AL_FORMAT_MONO8   0x1100
 
#define AL_FORMAT_STEREO16   0x1103
 
#define AL_FORMAT_STEREO8   0x1102
 
#define AL_FREQUENCY   0x2001
 
#define AL_GAIN   0x100A
 
#define AL_ILLEGAL_COMMAND   AL_INVALID_OPERATION
 
#define AL_ILLEGAL_ENUM   AL_INVALID_ENUM
 
#define AL_INITIAL   0x1011
 
#define AL_INVALID   (-1)
 
#define AL_INVALID_ENUM   0xA002
 
#define AL_INVALID_NAME   0xA001
 
#define AL_INVALID_OPERATION   0xA004
 
#define AL_INVALID_VALUE   0xA003
 
#define AL_INVERSE_DISTANCE   0xD001
 
#define AL_INVERSE_DISTANCE_CLAMPED   0xD002
 
#define AL_LINEAR_DISTANCE   0xD003
 
#define AL_LINEAR_DISTANCE_CLAMPED   0xD004
 
#define AL_LOOPING   0x1007
 
#define AL_MAX_DISTANCE   0x1023
 
#define AL_MAX_GAIN   0x100E
 
#define AL_MIN_GAIN   0x100D
 
#define AL_NO_ERROR   0
 
#define AL_NONE   0
 
#define AL_ORIENTATION   0x100F
 
#define AL_OUT_OF_MEMORY   0xA005
 
#define AL_PAUSED   0x1013
 
#define AL_PENDING   0x2011
 
#define AL_PITCH   0x1003
 
#define AL_PLAYING   0x1012
 
#define AL_POSITION   0x1004
 
#define AL_PROCESSED   0x2012
 
#define AL_REFERENCE_DISTANCE   0x1020
 
#define AL_RENDERER   0xB003
 
#define AL_ROLLOFF_FACTOR   0x1021
 
#define AL_SAMPLE_OFFSET   0x1025
 
#define AL_SEC_OFFSET   0x1024
 
#define AL_SIZE   0x2004
 
#define AL_SOURCE_RELATIVE   0x202
 
#define AL_SOURCE_STATE   0x1010
 
#define AL_SOURCE_TYPE   0x1027
 
#define AL_SPEED_OF_SOUND   0xC003
 
#define AL_STATIC   0x1028
 
#define AL_STOPPED   0x1014
 
#define AL_STREAMING   0x1029
 
#define AL_TRUE   1
 
#define AL_UNDETERMINED   0x1030
 
#define AL_UNUSED   0x2010
 
#define AL_VELOCITY   0x1006
 
#define AL_VENDOR   0xB001
 
#define AL_VERSION   0xB002
 
#define AL_VERSION_1_0
 
#define AL_VERSION_1_1
 
#define ALAPI   AL_API
 
#define ALAPIENTRY   AL_APIENTRY
 
#define OPENAL
 

Typedefs

typedef char ALboolean
 
typedef signed char ALbyte
 
typedef char ALchar
 
typedef double ALdouble
 
typedef int ALenum
 
typedef float ALfloat
 
typedef int ALint
 
typedef short ALshort
 
typedef int ALsizei
 
typedef unsigned char ALubyte
 
typedef unsigned int ALuint
 
typedef unsigned short ALushort
 
typedef void ALvoid
 
typedef void(AL_APIENTRYLPALBUFFER3F )(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
typedef void(AL_APIENTRYLPALBUFFER3I )(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
 
typedef void(AL_APIENTRYLPALBUFFERDATA )(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
 
typedef void(AL_APIENTRYLPALBUFFERF )(ALuint buffer, ALenum param, ALfloat value)
 
typedef void(AL_APIENTRYLPALBUFFERFV )(ALuint buffer, ALenum param, const ALfloat *values)
 
typedef void(AL_APIENTRYLPALBUFFERI )(ALuint buffer, ALenum param, ALint value)
 
typedef void(AL_APIENTRYLPALBUFFERIV )(ALuint buffer, ALenum param, const ALint *values)
 
typedef void(AL_APIENTRYLPALDELETEBUFFERS )(ALsizei n, const ALuint *buffers)
 
typedef void(AL_APIENTRYLPALDELETESOURCES )(ALsizei n, const ALuint *sources)
 
typedef void(AL_APIENTRYLPALDISABLE )(ALenum capability)
 
typedef void(AL_APIENTRYLPALDISTANCEMODEL )(ALenum distanceModel)
 
typedef void(AL_APIENTRYLPALDOPPLERFACTOR )(ALfloat value)
 
typedef void(AL_APIENTRYLPALDOPPLERVELOCITY )(ALfloat value)
 
typedef void(AL_APIENTRYLPALENABLE )(ALenum capability)
 
typedef void(AL_APIENTRYLPALGENBUFFERS )(ALsizei n, ALuint *buffers)
 
typedef void(AL_APIENTRYLPALGENSOURCES )(ALsizei n, ALuint *sources)
 
typedef ALboolean(AL_APIENTRYLPALGETBOOLEAN )(ALenum param)
 
typedef void(AL_APIENTRYLPALGETBOOLEANV )(ALenum param, ALboolean *values)
 
typedef void(AL_APIENTRYLPALGETBUFFER3F )(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
typedef void(AL_APIENTRYLPALGETBUFFER3I )(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
typedef void(AL_APIENTRYLPALGETBUFFERF )(ALuint buffer, ALenum param, ALfloat *value)
 
typedef void(AL_APIENTRYLPALGETBUFFERFV )(ALuint buffer, ALenum param, ALfloat *values)
 
typedef void(AL_APIENTRYLPALGETBUFFERI )(ALuint buffer, ALenum param, ALint *value)
 
typedef void(AL_APIENTRYLPALGETBUFFERIV )(ALuint buffer, ALenum param, ALint *values)
 
typedef ALdouble(AL_APIENTRYLPALGETDOUBLE )(ALenum param)
 
typedef void(AL_APIENTRYLPALGETDOUBLEV )(ALenum param, ALdouble *values)
 
typedef ALenum(AL_APIENTRYLPALGETENUMVALUE )(const ALchar *ename)
 
typedef ALenum(AL_APIENTRYLPALGETERROR )(void)
 
typedef ALfloat(AL_APIENTRYLPALGETFLOAT )(ALenum param)
 
typedef void(AL_APIENTRYLPALGETFLOATV )(ALenum param, ALfloat *values)
 
typedef ALint(AL_APIENTRYLPALGETINTEGER )(ALenum param)
 
typedef void(AL_APIENTRYLPALGETINTEGERV )(ALenum param, ALint *values)
 
typedef void(AL_APIENTRYLPALGETLISTENER3F )(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
typedef void(AL_APIENTRYLPALGETLISTENER3I )(ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
typedef void(AL_APIENTRYLPALGETLISTENERF )(ALenum param, ALfloat *value)
 
typedef void(AL_APIENTRYLPALGETLISTENERFV )(ALenum param, ALfloat *values)
 
typedef void(AL_APIENTRYLPALGETLISTENERI )(ALenum param, ALint *value)
 
typedef void(AL_APIENTRYLPALGETLISTENERIV )(ALenum param, ALint *values)
 
typedef void *(AL_APIENTRYLPALGETPROCADDRESS )(const ALchar *fname)
 
typedef void(AL_APIENTRYLPALGETSOURCE3F )(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
typedef void(AL_APIENTRYLPALGETSOURCE3I )(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
typedef void(AL_APIENTRYLPALGETSOURCEF )(ALuint source, ALenum param, ALfloat *value)
 
typedef void(AL_APIENTRYLPALGETSOURCEFV )(ALuint source, ALenum param, ALfloat *values)
 
typedef void(AL_APIENTRYLPALGETSOURCEI )(ALuint source, ALenum param, ALint *value)
 
typedef void(AL_APIENTRYLPALGETSOURCEIV )(ALuint source, ALenum param, ALint *values)
 
typedef const ALchar
*(AL_APIENTRY
LPALGETSTRING )(ALenum param)
 
typedef ALboolean(AL_APIENTRYLPALISBUFFER )(ALuint buffer)
 
typedef ALboolean(AL_APIENTRYLPALISENABLED )(ALenum capability)
 
typedef ALboolean(AL_APIENTRYLPALISEXTENSIONPRESENT )(const ALchar *extname)
 
typedef ALboolean(AL_APIENTRYLPALISSOURCE )(ALuint source)
 
typedef void(AL_APIENTRYLPALLISTENER3F )(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
typedef void(AL_APIENTRYLPALLISTENER3I )(ALenum param, ALint value1, ALint value2, ALint value3)
 
typedef void(AL_APIENTRYLPALLISTENERF )(ALenum param, ALfloat value)
 
typedef void(AL_APIENTRYLPALLISTENERFV )(ALenum param, const ALfloat *values)
 
typedef void(AL_APIENTRYLPALLISTENERI )(ALenum param, ALint value)
 
typedef void(AL_APIENTRYLPALLISTENERIV )(ALenum param, const ALint *values)
 
typedef void(AL_APIENTRYLPALSOURCE3F )(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
typedef void(AL_APIENTRYLPALSOURCE3I )(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)
 
typedef void(AL_APIENTRYLPALSOURCEF )(ALuint source, ALenum param, ALfloat value)
 
typedef void(AL_APIENTRYLPALSOURCEFV )(ALuint source, ALenum param, const ALfloat *values)
 
typedef void(AL_APIENTRYLPALSOURCEI )(ALuint source, ALenum param, ALint value)
 
typedef void(AL_APIENTRYLPALSOURCEIV )(ALuint source, ALenum param, const ALint *values)
 
typedef void(AL_APIENTRYLPALSOURCEPAUSE )(ALuint source)
 
typedef void(AL_APIENTRYLPALSOURCEPAUSEV )(ALsizei n, const ALuint *sources)
 
typedef void(AL_APIENTRYLPALSOURCEPLAY )(ALuint source)
 
typedef void(AL_APIENTRYLPALSOURCEPLAYV )(ALsizei n, const ALuint *sources)
 
typedef void(AL_APIENTRYLPALSOURCEQUEUEBUFFERS )(ALuint source, ALsizei nb, const ALuint *buffers)
 
typedef void(AL_APIENTRYLPALSOURCEREWIND )(ALuint source)
 
typedef void(AL_APIENTRYLPALSOURCEREWINDV )(ALsizei n, const ALuint *sources)
 
typedef void(AL_APIENTRYLPALSOURCESTOP )(ALuint source)
 
typedef void(AL_APIENTRYLPALSOURCESTOPV )(ALsizei n, const ALuint *sources)
 
typedef void(AL_APIENTRYLPALSOURCEUNQUEUEBUFFERS )(ALuint source, ALsizei nb, ALuint *buffers)
 
typedef void(AL_APIENTRYLPALSPEEDOFSOUND )(ALfloat value)
 

Functions

AL_API void AL_APIENTRY alBuffer3f (ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
AL_API void AL_APIENTRY alBuffer3i (ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
 
AL_API void AL_APIENTRY alBufferData (ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
 
AL_API void AL_APIENTRY alBufferf (ALuint buffer, ALenum param, ALfloat value)
 
AL_API void AL_APIENTRY alBufferfv (ALuint buffer, ALenum param, const ALfloat *values)
 
AL_API void AL_APIENTRY alBufferi (ALuint buffer, ALenum param, ALint value)
 
AL_API void AL_APIENTRY alBufferiv (ALuint buffer, ALenum param, const ALint *values)
 
AL_API void AL_APIENTRY alDeleteBuffers (ALsizei n, const ALuint *buffers)
 
AL_API void AL_APIENTRY alDeleteSources (ALsizei n, const ALuint *sources)
 
AL_API void AL_APIENTRY alDisable (ALenum capability)
 
AL_API void AL_APIENTRY alDistanceModel (ALenum distanceModel)
 
AL_API void AL_APIENTRY alDopplerFactor (ALfloat value)
 
AL_API void AL_APIENTRY alDopplerVelocity (ALfloat value)
 
AL_API void AL_APIENTRY alEnable (ALenum capability)
 
AL_API void AL_APIENTRY alGenBuffers (ALsizei n, ALuint *buffers)
 
AL_API void AL_APIENTRY alGenSources (ALsizei n, ALuint *sources)
 
AL_API ALboolean AL_APIENTRY alGetBoolean (ALenum param)
 
AL_API void AL_APIENTRY alGetBooleanv (ALenum param, ALboolean *values)
 
AL_API void AL_APIENTRY alGetBuffer3f (ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
AL_API void AL_APIENTRY alGetBuffer3i (ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
AL_API void AL_APIENTRY alGetBufferf (ALuint buffer, ALenum param, ALfloat *value)
 
AL_API void AL_APIENTRY alGetBufferfv (ALuint buffer, ALenum param, ALfloat *values)
 
AL_API void AL_APIENTRY alGetBufferi (ALuint buffer, ALenum param, ALint *value)
 
AL_API void AL_APIENTRY alGetBufferiv (ALuint buffer, ALenum param, ALint *values)
 
AL_API ALdouble AL_APIENTRY alGetDouble (ALenum param)
 
AL_API void AL_APIENTRY alGetDoublev (ALenum param, ALdouble *values)
 
AL_API ALenum AL_APIENTRY alGetEnumValue (const ALchar *ename)
 
AL_API ALenum AL_APIENTRY alGetError (void)
 
AL_API ALfloat AL_APIENTRY alGetFloat (ALenum param)
 
AL_API void AL_APIENTRY alGetFloatv (ALenum param, ALfloat *values)
 
AL_API ALint AL_APIENTRY alGetInteger (ALenum param)
 
AL_API void AL_APIENTRY alGetIntegerv (ALenum param, ALint *values)
 
AL_API void AL_APIENTRY alGetListener3f (ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
AL_API void AL_APIENTRY alGetListener3i (ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
AL_API void AL_APIENTRY alGetListenerf (ALenum param, ALfloat *value)
 
AL_API void AL_APIENTRY alGetListenerfv (ALenum param, ALfloat *values)
 
AL_API void AL_APIENTRY alGetListeneri (ALenum param, ALint *value)
 
AL_API void AL_APIENTRY alGetListeneriv (ALenum param, ALint *values)
 
AL_API void *AL_APIENTRY alGetProcAddress (const ALchar *fname)
 
AL_API void AL_APIENTRY alGetSource3f (ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
AL_API void AL_APIENTRY alGetSource3i (ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
AL_API void AL_APIENTRY alGetSourcef (ALuint source, ALenum param, ALfloat *value)
 
AL_API void AL_APIENTRY alGetSourcefv (ALuint source, ALenum param, ALfloat *values)
 
AL_API void AL_APIENTRY alGetSourcei (ALuint source, ALenum param, ALint *value)
 
AL_API void AL_APIENTRY alGetSourceiv (ALuint source, ALenum param, ALint *values)
 
AL_API const ALchar *AL_APIENTRY alGetString (ALenum param)
 
AL_API ALboolean AL_APIENTRY alIsBuffer (ALuint buffer)
 
AL_API ALboolean AL_APIENTRY alIsEnabled (ALenum capability)
 
AL_API ALboolean AL_APIENTRY alIsExtensionPresent (const ALchar *extname)
 
AL_API ALboolean AL_APIENTRY alIsSource (ALuint source)
 
AL_API void AL_APIENTRY alListener3f (ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
AL_API void AL_APIENTRY alListener3i (ALenum param, ALint value1, ALint value2, ALint value3)
 
AL_API void AL_APIENTRY alListenerf (ALenum param, ALfloat value)
 
AL_API void AL_APIENTRY alListenerfv (ALenum param, const ALfloat *values)
 
AL_API void AL_APIENTRY alListeneri (ALenum param, ALint value)
 
AL_API void AL_APIENTRY alListeneriv (ALenum param, const ALint *values)
 
AL_API void AL_APIENTRY alSource3f (ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
AL_API void AL_APIENTRY alSource3i (ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)
 
AL_API void AL_APIENTRY alSourcef (ALuint source, ALenum param, ALfloat value)
 
AL_API void AL_APIENTRY alSourcefv (ALuint source, ALenum param, const ALfloat *values)
 
AL_API void AL_APIENTRY alSourcei (ALuint source, ALenum param, ALint value)
 
AL_API void AL_APIENTRY alSourceiv (ALuint source, ALenum param, const ALint *values)
 
AL_API void AL_APIENTRY alSourcePause (ALuint source)
 
AL_API void AL_APIENTRY alSourcePausev (ALsizei n, const ALuint *sources)
 
AL_API void AL_APIENTRY alSourcePlay (ALuint source)
 
AL_API void AL_APIENTRY alSourcePlayv (ALsizei n, const ALuint *sources)
 
AL_API void AL_APIENTRY alSourceQueueBuffers (ALuint source, ALsizei nb, const ALuint *buffers)
 
AL_API void AL_APIENTRY alSourceRewind (ALuint source)
 
AL_API void AL_APIENTRY alSourceRewindv (ALsizei n, const ALuint *sources)
 
AL_API void AL_APIENTRY alSourceStop (ALuint source)
 
AL_API void AL_APIENTRY alSourceStopv (ALsizei n, const ALuint *sources)
 
AL_API void AL_APIENTRY alSourceUnqueueBuffers (ALuint source, ALsizei nb, ALuint *buffers)
 
AL_API void AL_APIENTRY alSpeedOfSound (ALfloat value)
 

Macro Definition Documentation

#define AL_API   extern

Definition at line 14 of file al.h.

#define AL_APIENTRY

Definition at line 21 of file al.h.

#define AL_BITS   0x2002

Buffer bits per sample (query only).

Definition at line 347 of file al.h.

Referenced by alGetBufferi(), and alGetBufferiv().

#define AL_BUFFER   0x1009

Source buffer. Type: ALuint Range: any valid Buffer.

Specifies the buffer to provide sound samples.

Definition at line 182 of file al.h.

Referenced by GetSourcedv(), GetSourceiv(), main(), Zeni::Sound_Source_HW::set_buffer(), SetSourcei64v(), SetSourceiv(), and StartPlayer().

#define AL_BUFFERS_PROCESSED   0x1016

Source Buffer Queue processed count (query only). Type: ALint

The number of queued buffers that have been fully processed, and can be removed with alSourceUnqueueBuffers.

Looping sources will never fully process buffers because they will be set to play again for when the source loops.

Definition at line 262 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::update(), and UpdatePlayer().

#define AL_BUFFERS_QUEUED   0x1015

Source Buffer Queue size (query only). Type: ALint

The number of buffers queued using alSourceQueueBuffers, minus the buffers removed with alSourceUnqueueBuffers.

Definition at line 250 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), and UpdatePlayer().

#define AL_BYTE_OFFSET   0x1026

Source buffer position, in bytes

Definition at line 316 of file al.h.

Referenced by GetSampleOffset(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), GetSourceOffsets(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_CHANNELS   0x2003

Buffer channel count (query only).

Definition at line 349 of file al.h.

Referenced by alGetBufferi(), and alGetBufferiv().

#define AL_CONE_INNER_ANGLE   0x1001

Inner cone angle, in degrees. Type: ALint, ALfloat Range: [0 - 360] Default: 360

The angle covered by the inner cone, where the source will not attenuate.

Definition at line 108 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_CONE_OUTER_ANGLE   0x1002

Outer cone angle, in degrees. Range: [0 - 360] Default: 360

The angle covered by the outer cone, where the source will be fully attenuated.

Definition at line 118 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_CONE_OUTER_GAIN   0x1022

Outer cone gain. Type: ALfloat Range: [0.0 - 1.0] Default: 0.0

The gain attenuation applied when the listener is outside of the source's outer cone.

Definition at line 297 of file al.h.

Referenced by GetSourcedv(), and SetSourcefv().

#define AL_DIRECTION   0x1005

Source direction. Type: ALfloat[3], ALint[3] Default: {0, 0, 0}

Specifies the current direction in local space. A zero-length vector specifies an omni-directional source (cone is ignored).

Definition at line 154 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().

#define AL_DISTANCE_MODEL   0xD000

Distance attenuation model. Type: ALint Range: [AL_NONE, AL_INVERSE_DISTANCE, AL_INVERSE_DISTANCE_CLAMPED, AL_LINEAR_DISTANCE, AL_LINEAR_DISTANCE_CLAMPED, AL_EXPONENT_DISTANCE, AL_EXPONENT_DISTANCE_CLAMPED] Default: AL_INVERSE_DISTANCE_CLAMPED

The model by which sources attenuate with distance.

None - No distance attenuation. Inverse - Doubling the distance halves the source gain. Linear - Linear gain scaling between the reference and max distances. Exponent - Exponential gain dropoff.

Clamped variations work like the non-clamped counterparts, except the distance calculated is clamped between the reference and max distances.

Definition at line 441 of file al.h.

Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), alGetIntegerv(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcei64v(), and SetSourceiv().

#define AL_DOPPLER_FACTOR   0xC000

Doppler scale. Type: ALfloat Range: [0.0 - ] Default: 1.0

Scale for source and listener velocities.

Definition at line 400 of file al.h.

Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), alGetIntegerv(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), and SetSourcefv().

#define AL_DOPPLER_VELOCITY   0xC001

Doppler velocity (deprecated).

A multiplier applied to the Speed of Sound.

Definition at line 408 of file al.h.

Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), and alGetIntegerv().

#define AL_EXPONENT_DISTANCE   0xD005

Definition at line 449 of file al.h.

Referenced by alDistanceModel(), and SetSourceiv().

#define AL_EXPONENT_DISTANCE_CLAMPED   0xD006

Definition at line 450 of file al.h.

Referenced by alDistanceModel(), and SetSourceiv().

#define AL_EXTENSIONS   0xB004

Context string: Space-separated extension list.

Definition at line 389 of file al.h.

Referenced by alGetString(), and printALInfo().

#define AL_FORMAT_MONO8   0x1100

Buffer format specifier.

Definition at line 339 of file al.h.

Referenced by DecomposeDevFormat(), DecomposeUserFormat(), and GetFormat().

#define AL_FORMAT_STEREO16   0x1103
#define AL_FORMAT_STEREO8   0x1102

Definition at line 341 of file al.h.

Referenced by DecomposeDevFormat(), DecomposeUserFormat(), and GetFormat().

#define AL_FREQUENCY   0x2001

Buffer frequency (query only).

Definition at line 345 of file al.h.

Referenced by alGetBufferi(), and alGetBufferiv().

#define AL_GAIN   0x100A

Source or listener gain. Type: ALfloat Range: [0.0 - ]

A value of 1.0 means unattenuated. Each division by 2 equals an attenuation of about -6dB. Each multiplicaton by 2 equals an amplification of about +6dB.

A value of 0.0 is meaningless with respect to a logarithmic scale; it is silent.

Definition at line 196 of file al.h.

Referenced by alGetListenerf(), alGetListenerfv(), alListenerf(), alListenerfv(), Zeni::Sound_Stream_AL::get_gain(), Zeni::Sound_Source_HW::get_gain(), GetSourcedv(), Zeni::Sound_Stream_AL::set_gain(), Zeni::Sound_Source_HW::set_gain(), Zeni::Sound_Renderer_AL::set_listener_gain(), and SetSourcefv().

#define AL_ILLEGAL_COMMAND   AL_INVALID_OPERATION

Definition at line 31 of file al.h.

#define AL_ILLEGAL_ENUM   AL_INVALID_ENUM

Definition at line 30 of file al.h.

#define AL_INITIAL   0x1011

Source state value.

Definition at line 238 of file al.h.

Referenced by alSourceRewindv(), InitSourceParams(), SetSourceiv(), and SetSourceState().

#define AL_INVALID   (-1)

Definition at line 29 of file al.h.

#define AL_INVALID_ENUM   0xA002

Invalid enum parameter passed to AL call.

Definition at line 370 of file al.h.

Referenced by alAuxiliaryEffectSlotf(), alAuxiliaryEffectSlotfv(), alAuxiliaryEffectSloti(), alAuxiliaryEffectSlotiv(), alBuffer3f(), alBuffer3i(), alBufferData(), alBufferf(), alBufferfv(), alBufferi(), alBufferiv(), alBufferSamplesSOFT(), alBufferSubDataSOFT(), alBufferSubSamplesSOFT(), alDisable(), alEnable(), alGetAuxiliaryEffectSlotf(), alGetAuxiliaryEffectSlotfv(), alGetAuxiliaryEffectSloti(), alGetAuxiliaryEffectSlotiv(), alGetBoolean(), alGetBooleanv(), alGetBuffer3f(), alGetBuffer3i(), alGetBufferf(), alGetBufferfv(), alGetBufferi(), alGetBufferiv(), alGetBufferSamplesSOFT(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), alGetIntegerv(), alGetListener3f(), alGetListener3i(), alGetListenerf(), alGetListenerfv(), alGetListeneri(), alGetListeneriv(), alGetSource3dSOFT(), alGetSource3f(), alGetSource3i(), alGetSource3i64SOFT(), alGetSourcedSOFT(), alGetSourcedvSOFT(), alGetSourcef(), alGetSourcefv(), alGetSourcei(), alGetSourcei64SOFT(), alGetSourcei64vSOFT(), alGetSourceiv(), alGetString(), alIsEnabled(), alListener3f(), alListener3i(), alListenerf(), alListenerfv(), alListeneri(), alListeneriv(), alSource3dSOFT(), alSource3f(), alSource3i(), alSource3i64SOFT(), alSourcedSOFT(), alSourcedvSOFT(), alSourcef(), alSourcefv(), alSourcei(), alSourcei64SOFT(), alSourcei64vSOFT(), alSourceiv(), ded_GetParamf(), ded_GetParami(), ded_SetParamf(), ded_SetParami(), eaxreverb_GetParamf(), eaxreverb_GetParami(), eaxreverb_SetParamf(), eaxreverb_SetParami(), echo_GetParamf(), echo_GetParami(), echo_SetParamf(), echo_SetParami(), Zeni::Sound_Renderer_AL::errorString(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), LoadData(), lp_GetParamf(), lp_GetParami(), lp_GetParamiv(), lp_SetParamf(), lp_SetParami(), lp_SetParamiv(), mod_GetParamf(), mod_GetParami(), mod_SetParamf(), mod_SetParami(), null_GetParamf(), null_GetParamfv(), null_GetParami(), null_GetParamiv(), null_SetParamf(), null_SetParamfv(), null_SetParami(), null_SetParamiv(), reverb_GetParamf(), reverb_GetParami(), reverb_SetParamf(), reverb_SetParami(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_INVALID_NAME   0xA001

Invalid name paramater passed to AL call.

Definition at line 367 of file al.h.

Referenced by alAuxiliaryEffectSlotf(), alAuxiliaryEffectSlotfv(), alAuxiliaryEffectSloti(), alAuxiliaryEffectSlotiv(), alBuffer3f(), alBuffer3i(), alBufferData(), alBufferf(), alBufferfv(), alBufferi(), alBufferiv(), alBufferSamplesSOFT(), alBufferSubDataSOFT(), alBufferSubSamplesSOFT(), alDeleteAuxiliaryEffectSlots(), alDeleteBuffers(), alDeleteEffects(), alDeleteFilters(), alDeleteSources(), alEffectf(), alEffectfv(), alEffecti(), alEffectiv(), alFilterf(), alFilterfv(), alFilteri(), alFilteriv(), alGetAuxiliaryEffectSlotf(), alGetAuxiliaryEffectSlotfv(), alGetAuxiliaryEffectSloti(), alGetAuxiliaryEffectSlotiv(), alGetBuffer3f(), alGetBuffer3i(), alGetBufferf(), alGetBufferfv(), alGetBufferi(), alGetBufferiv(), alGetBufferSamplesSOFT(), alGetEffectf(), alGetEffectfv(), alGetEffecti(), alGetEffectiv(), alGetFilterf(), alGetFilterfv(), alGetFilteri(), alGetFilteriv(), alGetSource3dSOFT(), alGetSource3f(), alGetSource3i(), alGetSource3i64SOFT(), alGetSourcedSOFT(), alGetSourcedvSOFT(), alGetSourcef(), alGetSourcefv(), alGetSourcei(), alGetSourcei64SOFT(), alGetSourcei64vSOFT(), alGetSourceiv(), alGetString(), alSource3dSOFT(), alSource3f(), alSource3i(), alSource3i64SOFT(), alSourcedSOFT(), alSourcedvSOFT(), alSourcef(), alSourcefv(), alSourcei(), alSourcei64SOFT(), alSourcei64vSOFT(), alSourceiv(), alSourcePausev(), alSourcePlayv(), alSourceQueueBuffers(), alSourceRewindv(), alSourceStopv(), alSourceUnqueueBuffers(), and Zeni::Sound_Renderer_AL::errorString().

#define AL_INVERSE_DISTANCE   0xD001

Distance model value.

Definition at line 445 of file al.h.

Referenced by alDistanceModel(), and SetSourceiv().

#define AL_INVERSE_DISTANCE_CLAMPED   0xD002

Definition at line 446 of file al.h.

Referenced by alDistanceModel(), alGetBoolean(), and SetSourceiv().

#define AL_LINEAR_DISTANCE   0xD003

Definition at line 447 of file al.h.

Referenced by alDistanceModel(), and SetSourceiv().

#define AL_LINEAR_DISTANCE_CLAMPED   0xD004

Definition at line 448 of file al.h.

Referenced by alDistanceModel(), and SetSourceiv().

#define AL_LOOPING   0x1007

Source looping. Type: ALboolean Range: [AL_TRUE, AL_FALSE] Default: AL_FALSE

Specifies whether source is looping.

Definition at line 173 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Source_HW::is_looping(), Zeni::Sound_Source_HW::set_looping(), SetSourcei64v(), and SetSourceiv().

#define AL_MAX_DISTANCE   0x1023

Source maximum distance. Type: ALfloat Range: [0.0 - ] Default: +inf

The distance above which the source is not attenuated any further with a clamped distance model, or where attenuation reaches 0.0 gain for linear distance models with a default rolloff factor.

Definition at line 309 of file al.h.

Referenced by Zeni::Sound_Stream_AL::get_max_distance(), Zeni::Sound_Source_HW::get_max_distance(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::set_max_distance(), Zeni::Sound_Source_HW::set_max_distance(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_MAX_GAIN   0x100E

Maximum source gain. Type: ALfloat Range: [0.0 - 1.0]

The maximum gain allowed for a source, after distance and cone attenation is applied (if applicable).

Definition at line 216 of file al.h.

Referenced by GetSourcedv(), and SetSourcefv().

#define AL_MIN_GAIN   0x100D

Minimum source gain. Type: ALfloat Range: [0.0 - 1.0]

The minimum gain allowed for a source, after distance and cone attenation is applied (if applicable).

Definition at line 206 of file al.h.

Referenced by GetSourcedv(), and SetSourcefv().

#define AL_NONE   0
#define AL_ORIENTATION   0x100F

Listener orientation. Type: ALfloat[6] Default: {0.0, 0.0, -1.0, 0.0, 1.0, 0.0}

Effectively two three dimensional vectors. The first vector is the front (or "at") and the second is the top (or "up").

Both vectors are in local space.

Definition at line 228 of file al.h.

Referenced by alGetListenerfv(), alGetListeneriv(), alListenerfv(), alListeneriv(), Zeni::Sound_Renderer_AL::get_listener_forward_and_up(), and Zeni::Sound_Renderer_AL::set_listener_forward_and_up().

#define AL_PENDING   0x2011

Definition at line 359 of file al.h.

#define AL_PITCH   0x1003

Source pitch. Type: ALfloat Range: [0.5 - 2.0] Default: 1.0

A multiplier for the frequency (sample rate) of the source's buffer.

Definition at line 128 of file al.h.

Referenced by Zeni::Sound_Stream_AL::get_pitch(), Zeni::Sound_Source_HW::get_pitch(), GetSourcedv(), Zeni::Sound_Stream_AL::set_pitch(), Zeni::Sound_Source_HW::set_pitch(), and SetSourcefv().

#define AL_POSITION   0x1004

Source or listener position. Type: ALfloat[3], ALint[3] Default: {0, 0, 0}

The source or listener 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.

Definition at line 144 of file al.h.

Referenced by alGetListener3f(), alGetListener3i(), alGetListenerfv(), alGetListeneriv(), alListener3f(), alListener3i(), alListenerfv(), alListeneriv(), Zeni::Sound_Stream_AL::get_position(), Zeni::Sound_Source_HW::get_position(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), NewPlayer(), Zeni::Sound_Renderer_AL::set_listener_position(), Zeni::Sound_Stream_AL::set_position(), Zeni::Sound_Source_HW::set_position(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().

#define AL_PROCESSED   0x2012

Definition at line 360 of file al.h.

#define AL_REFERENCE_DISTANCE   0x1020

Source reference distance. Type: ALfloat Range: [0.0 - ] Default: 1.0

The distance in units that no attenuation occurs.

At 0.0, no distance attenuation ever occurs on non-linear attenuation models.

Definition at line 274 of file al.h.

Referenced by Zeni::Sound_Stream_AL::get_reference_distance(), Zeni::Sound_Source_HW::get_reference_distance(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::set_reference_distance(), Zeni::Sound_Source_HW::set_reference_distance(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_RENDERER   0xB003

Context string: Renderer ID.

Definition at line 387 of file al.h.

Referenced by alGetString(), and printALInfo().

#define AL_ROLLOFF_FACTOR   0x1021

Source rolloff factor. Type: ALfloat Range: [0.0 - ] Default: 1.0

Multiplier to exaggerate or diminish distance attenuation.

At 0.0, no distance attenuation ever occurs.

Definition at line 286 of file al.h.

Referenced by Zeni::Sound_Stream_AL::get_rolloff(), Zeni::Sound_Source_HW::get_rolloff(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), NewPlayer(), Zeni::Sound_Stream_AL::set_rolloff(), Zeni::Sound_Source_HW::set_rolloff(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().

#define AL_SAMPLE_OFFSET   0x1025

Source buffer position, in sample frames

Definition at line 314 of file al.h.

Referenced by GetSampleOffset(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), GetSourceOffsets(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().

#define AL_SEC_OFFSET   0x1024
#define AL_SIZE   0x2004

Buffer data size (query only).

Definition at line 351 of file al.h.

Referenced by alGetBufferi(), and alGetBufferiv().

#define AL_SOURCE_RELATIVE   0x202

Relative source. Type: ALboolean Range: [AL_TRUE, AL_FALSE] Default: AL_FALSE

Specifies if the Source has relative coordinates.

Definition at line 97 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), NewPlayer(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().

#define AL_SOURCE_STATE   0x1010

Source state (query only). Type: ALint Range: [AL_INITIAL, AL_PLAYING, AL_PAUSED, AL_STOPPED]

Definition at line 235 of file al.h.

Referenced by Zeni::Sound_Source_HW::get_state(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::is_paused(), Zeni::Sound_Stream_AL::is_playing(), Zeni::Sound_Stream_AL::is_stopped(), main(), SetSourcei64v(), and UpdatePlayer().

#define AL_SOURCE_TYPE   0x1027

Source type (query only). Type: ALint Range: [AL_STATIC, AL_STREAMING, AL_UNDETERMINED]

A Source is Static if a Buffer has been attached using AL_BUFFER.

A Source is Streaming if one or more Buffers have been attached using alSourceQueueBuffers.

A Source is Undetermined when it has the NULL buffer attached using AL_BUFFER.

Definition at line 331 of file al.h.

Referenced by GetSourcedv(), GetSourcei64v(), and GetSourceiv().

#define AL_SPEED_OF_SOUND   0xC003

Speed of Sound, in units per second. Type: ALfloat Range: [0.0001 - ] Default: 343.3

The speed at which sound waves are assumed to travel, when calculating the doppler effect.

Definition at line 420 of file al.h.

Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), and alGetIntegerv().

#define AL_STATIC   0x1028

Source type value.

Definition at line 334 of file al.h.

Referenced by alSourceQueueBuffers(), GetSourceiv(), MixSource(), and SetSourceiv().

#define AL_STREAMING   0x1029

Definition at line 335 of file al.h.

Referenced by alSourceQueueBuffers(), alSourceUnqueueBuffers(), and GetSourceiv().

#define AL_UNDETERMINED   0x1030

Definition at line 336 of file al.h.

Referenced by InitSourceParams(), and SetSourceiv().

#define AL_UNUSED   0x2010

Buffer state.

Not for public use.

Definition at line 358 of file al.h.

#define AL_VENDOR   0xB001

Context string: Vendor ID.

Definition at line 383 of file al.h.

Referenced by alGetString(), and printALInfo().

#define AL_VERSION   0xB002

Context string: Version.

Definition at line 385 of file al.h.

Referenced by alGetString(), and printALInfo().

#define AL_VERSION_1_0

Supported AL version.

Definition at line 34 of file al.h.

#define AL_VERSION_1_1

Definition at line 35 of file al.h.

#define ALAPI   AL_API

Definition at line 27 of file al.h.

#define ALAPIENTRY   AL_APIENTRY

Definition at line 28 of file al.h.

#define OPENAL

Deprecated macro.

Definition at line 26 of file al.h.

Typedef Documentation

typedef char ALboolean

8-bit boolean

Definition at line 38 of file al.h.

typedef signed char ALbyte

signed 8-bit 2's complement integer

Definition at line 44 of file al.h.

typedef char ALchar

character

Definition at line 41 of file al.h.

typedef double ALdouble

64-bit IEEE754 floating-point

Definition at line 71 of file al.h.

typedef int ALenum

enumerated 32-bit value

Definition at line 65 of file al.h.

typedef float ALfloat

32-bit IEEE754 floating-point

Definition at line 68 of file al.h.

typedef int ALint

signed 32-bit 2's complement integer

Definition at line 56 of file al.h.

typedef short ALshort

signed 16-bit 2's complement integer

Definition at line 50 of file al.h.

typedef int ALsizei

non-negative 32-bit binary integer size

Definition at line 62 of file al.h.

typedef unsigned char ALubyte

unsigned 8-bit integer

Definition at line 47 of file al.h.

typedef unsigned int ALuint

unsigned 32-bit integer

Definition at line 59 of file al.h.

typedef unsigned short ALushort

unsigned 16-bit integer

Definition at line 53 of file al.h.

typedef void ALvoid

void type (for opaque pointers only)

Definition at line 74 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFER3F)(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)

Definition at line 636 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFER3I)(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)

Definition at line 639 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFERDATA)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)

Definition at line 634 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFERF)(ALuint buffer, ALenum param, ALfloat value)

Definition at line 635 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFERFV)(ALuint buffer, ALenum param, const ALfloat *values)

Definition at line 637 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFERI)(ALuint buffer, ALenum param, ALint value)

Definition at line 638 of file al.h.

typedef void(AL_APIENTRY * LPALBUFFERIV)(ALuint buffer, ALenum param, const ALint *values)

Definition at line 640 of file al.h.

typedef void(AL_APIENTRY * LPALDELETEBUFFERS)(ALsizei n, const ALuint *buffers)

Definition at line 632 of file al.h.

typedef void(AL_APIENTRY * LPALDELETESOURCES)(ALsizei n, const ALuint *sources)

Definition at line 607 of file al.h.

typedef void(AL_APIENTRY * LPALDISABLE)(ALenum capability)

Definition at line 579 of file al.h.

typedef void(AL_APIENTRY * LPALDISTANCEMODEL)(ALenum distanceModel)

Definition at line 650 of file al.h.

typedef void(AL_APIENTRY * LPALDOPPLERFACTOR)(ALfloat value)

Definition at line 647 of file al.h.

typedef void(AL_APIENTRY * LPALDOPPLERVELOCITY)(ALfloat value)

Definition at line 648 of file al.h.

typedef void(AL_APIENTRY * LPALENABLE)(ALenum capability)

Pointer-to-function type, useful for dynamically getting AL entry points.

Definition at line 578 of file al.h.

typedef void(AL_APIENTRY * LPALGENBUFFERS)(ALsizei n, ALuint *buffers)

Definition at line 631 of file al.h.

typedef void(AL_APIENTRY * LPALGENSOURCES)(ALsizei n, ALuint *sources)

Definition at line 606 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALGETBOOLEAN)(ALenum param)

Definition at line 586 of file al.h.

typedef void(AL_APIENTRY * LPALGETBOOLEANV)(ALenum param, ALboolean *values)

Definition at line 582 of file al.h.

typedef void(AL_APIENTRY * LPALGETBUFFER3F)(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)

Definition at line 642 of file al.h.

typedef void(AL_APIENTRY * LPALGETBUFFER3I)(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)

Definition at line 645 of file al.h.

typedef void(AL_APIENTRY * LPALGETBUFFERF)(ALuint buffer, ALenum param, ALfloat *value)

Definition at line 641 of file al.h.

typedef void(AL_APIENTRY * LPALGETBUFFERFV)(ALuint buffer, ALenum param, ALfloat *values)

Definition at line 643 of file al.h.

typedef void(AL_APIENTRY * LPALGETBUFFERI)(ALuint buffer, ALenum param, ALint *value)

Definition at line 644 of file al.h.

typedef void(AL_APIENTRY * LPALGETBUFFERIV)(ALuint buffer, ALenum param, ALint *values)

Definition at line 646 of file al.h.

typedef ALdouble(AL_APIENTRY * LPALGETDOUBLE)(ALenum param)

Definition at line 589 of file al.h.

typedef void(AL_APIENTRY * LPALGETDOUBLEV)(ALenum param, ALdouble *values)

Definition at line 585 of file al.h.

typedef ALenum(AL_APIENTRY * LPALGETENUMVALUE)(const ALchar *ename)

Definition at line 593 of file al.h.

typedef ALenum(AL_APIENTRY * LPALGETERROR)(void)

Definition at line 590 of file al.h.

typedef ALfloat(AL_APIENTRY * LPALGETFLOAT)(ALenum param)

Definition at line 588 of file al.h.

typedef void(AL_APIENTRY * LPALGETFLOATV)(ALenum param, ALfloat *values)

Definition at line 584 of file al.h.

typedef ALint(AL_APIENTRY * LPALGETINTEGER)(ALenum param)

Definition at line 587 of file al.h.

typedef void(AL_APIENTRY * LPALGETINTEGERV)(ALenum param, ALint *values)

Definition at line 583 of file al.h.

typedef void(AL_APIENTRY * LPALGETLISTENER3F)(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)

Definition at line 601 of file al.h.

typedef void(AL_APIENTRY * LPALGETLISTENER3I)(ALenum param, ALint *value1, ALint *value2, ALint *value3)

Definition at line 604 of file al.h.

typedef void(AL_APIENTRY * LPALGETLISTENERF)(ALenum param, ALfloat *value)

Definition at line 600 of file al.h.

typedef void(AL_APIENTRY * LPALGETLISTENERFV)(ALenum param, ALfloat *values)

Definition at line 602 of file al.h.

typedef void(AL_APIENTRY * LPALGETLISTENERI)(ALenum param, ALint *value)

Definition at line 603 of file al.h.

typedef void(AL_APIENTRY * LPALGETLISTENERIV)(ALenum param, ALint *values)

Definition at line 605 of file al.h.

typedef void*(AL_APIENTRY * LPALGETPROCADDRESS)(const ALchar *fname)

Definition at line 592 of file al.h.

typedef void(AL_APIENTRY * LPALGETSOURCE3F)(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)

Definition at line 616 of file al.h.

typedef void(AL_APIENTRY * LPALGETSOURCE3I)(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)

Definition at line 619 of file al.h.

typedef void(AL_APIENTRY * LPALGETSOURCEF)(ALuint source, ALenum param, ALfloat *value)

Definition at line 615 of file al.h.

typedef void(AL_APIENTRY * LPALGETSOURCEFV)(ALuint source, ALenum param, ALfloat *values)

Definition at line 617 of file al.h.

typedef void(AL_APIENTRY * LPALGETSOURCEI)(ALuint source, ALenum param, ALint *value)

Definition at line 618 of file al.h.

typedef void(AL_APIENTRY * LPALGETSOURCEIV)(ALuint source, ALenum param, ALint *values)

Definition at line 620 of file al.h.

typedef const ALchar*(AL_APIENTRY * LPALGETSTRING)(ALenum param)

Definition at line 581 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISBUFFER)(ALuint buffer)

Definition at line 633 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISENABLED)(ALenum capability)

Definition at line 580 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISEXTENSIONPRESENT)(const ALchar *extname)

Definition at line 591 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISSOURCE)(ALuint source)

Definition at line 608 of file al.h.

typedef void(AL_APIENTRY * LPALLISTENER3F)(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)

Definition at line 595 of file al.h.

typedef void(AL_APIENTRY * LPALLISTENER3I)(ALenum param, ALint value1, ALint value2, ALint value3)

Definition at line 598 of file al.h.

typedef void(AL_APIENTRY * LPALLISTENERF)(ALenum param, ALfloat value)

Definition at line 594 of file al.h.

typedef void(AL_APIENTRY * LPALLISTENERFV)(ALenum param, const ALfloat *values)

Definition at line 596 of file al.h.

typedef void(AL_APIENTRY * LPALLISTENERI)(ALenum param, ALint value)

Definition at line 597 of file al.h.

typedef void(AL_APIENTRY * LPALLISTENERIV)(ALenum param, const ALint *values)

Definition at line 599 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCE3F)(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)

Definition at line 610 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCE3I)(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)

Definition at line 613 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEF)(ALuint source, ALenum param, ALfloat value)

Definition at line 609 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEFV)(ALuint source, ALenum param, const ALfloat *values)

Definition at line 611 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEI)(ALuint source, ALenum param, ALint value)

Definition at line 612 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEIV)(ALuint source, ALenum param, const ALint *values)

Definition at line 614 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPAUSE)(ALuint source)

Definition at line 628 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPAUSEV)(ALsizei n, const ALuint *sources)

Definition at line 624 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPLAY)(ALuint source)

Definition at line 625 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPLAYV)(ALsizei n, const ALuint *sources)

Definition at line 621 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEQUEUEBUFFERS)(ALuint source, ALsizei nb, const ALuint *buffers)

Definition at line 629 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEREWIND)(ALuint source)

Definition at line 627 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEREWINDV)(ALsizei n, const ALuint *sources)

Definition at line 623 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCESTOP)(ALuint source)

Definition at line 626 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCESTOPV)(ALsizei n, const ALuint *sources)

Definition at line 622 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEUNQUEUEBUFFERS)(ALuint source, ALsizei nb, ALuint *buffers)

Definition at line 630 of file al.h.

typedef void(AL_APIENTRY * LPALSPEEDOFSOUND)(ALfloat value)

Definition at line 649 of file al.h.

Function Documentation

AL_API void AL_APIENTRY alBuffer3f ( ALuint  buffer,
ALenum  param,
ALfloat  value1,
ALfloat  value2,
ALfloat  value3 
)

Definition at line 639 of file alBuffer.c.

AL_API void AL_APIENTRY alBuffer3i ( ALuint  buffer,
ALenum  param,
ALint  value1,
ALint  value2,
ALint  value3 
)

Definition at line 721 of file alBuffer.c.

AL_API void AL_APIENTRY alBufferData ( ALuint  buffer,
ALenum  format,
const ALvoid data,
ALsizei  size,
ALsizei  freq 
)

Specifies the data to be copied into a buffer

Definition at line 289 of file alBuffer.c.

Referenced by wrap_BufferSamples().

AL_API void AL_APIENTRY alBufferf ( ALuint  buffer,
ALenum  param,
ALfloat  value 
)

Set Buffer parameters,

Definition at line 612 of file alBuffer.c.

AL_API void AL_APIENTRY alBufferfv ( ALuint  buffer,
ALenum  param,
const ALfloat values 
)

Definition at line 668 of file alBuffer.c.

AL_API void AL_APIENTRY alBufferi ( ALuint  buffer,
ALenum  param,
ALint  value 
)

Definition at line 694 of file alBuffer.c.

AL_API void AL_APIENTRY alBufferiv ( ALuint  buffer,
ALenum  param,
const ALint values 
)

Definition at line 750 of file alBuffer.c.

AL_API void AL_APIENTRY alDeleteBuffers ( ALsizei  n,
const ALuint buffers 
)

Delete Buffer objects

Definition at line 229 of file alBuffer.c.

Referenced by alGenBuffers(), DeletePlayer(), LoadSound(), and main().

AL_API void AL_APIENTRY alDeleteSources ( ALsizei  n,
const ALuint sources 
)

Delete Source objects.

Definition at line 1262 of file alSource.c.

Referenced by alGenSources(), DeletePlayer(), and main().

AL_API void AL_APIENTRY alDisable ( ALenum  capability)

Definition at line 69 of file alState.c.

AL_API void AL_APIENTRY alDistanceModel ( ALenum  distanceModel)

Definition at line 561 of file alState.c.

AL_API void AL_APIENTRY alDopplerFactor ( ALfloat  value)

Definition at line 504 of file alState.c.

AL_API void AL_APIENTRY alDopplerVelocity ( ALfloat  value)

Definition at line 523 of file alState.c.

AL_API void AL_APIENTRY alEnable ( ALenum  capability)

Renderer State management.

Definition at line 44 of file alState.c.

AL_API void AL_APIENTRY alGenBuffers ( ALsizei  n,
ALuint buffers 
)

Create Buffer objects

Definition at line 183 of file alBuffer.c.

Referenced by LoadSound(), and NewPlayer().

AL_API void AL_APIENTRY alGenSources ( ALsizei  n,
ALuint sources 
)

Create Source objects.

Definition at line 1216 of file alSource.c.

Referenced by main(), and NewPlayer().

AL_API ALboolean AL_APIENTRY alGetBoolean ( ALenum  param)

Definition at line 121 of file alState.c.

Referenced by alGetBooleanv().

AL_API void AL_APIENTRY alGetBooleanv ( ALenum  param,
ALboolean values 
)

Definition at line 297 of file alState.c.

AL_API void AL_APIENTRY alGetBuffer3f ( ALuint  buffer,
ALenum  param,
ALfloat value1,
ALfloat value2,
ALfloat value3 
)

Definition at line 832 of file alBuffer.c.

AL_API void AL_APIENTRY alGetBuffer3i ( ALuint  buffer,
ALenum  param,
ALint value1,
ALint value2,
ALint value3 
)

Definition at line 949 of file alBuffer.c.

AL_API void AL_APIENTRY alGetBufferf ( ALuint  buffer,
ALenum  param,
ALfloat value 
)

Get Buffer parameters.

Definition at line 796 of file alBuffer.c.

Referenced by alGetBufferfv().

AL_API void AL_APIENTRY alGetBufferfv ( ALuint  buffer,
ALenum  param,
ALfloat values 
)

Definition at line 858 of file alBuffer.c.

AL_API void AL_APIENTRY alGetBufferi ( ALuint  buffer,
ALenum  param,
ALint value 
)

Definition at line 891 of file alBuffer.c.

Referenced by alGetBufferiv().

AL_API void AL_APIENTRY alGetBufferiv ( ALuint  buffer,
ALenum  param,
ALint values 
)

Definition at line 975 of file alBuffer.c.

AL_API ALdouble AL_APIENTRY alGetDouble ( ALenum  param)

Definition at line 168 of file alState.c.

Referenced by alGetDoublev().

AL_API void AL_APIENTRY alGetDoublev ( ALenum  param,
ALdouble values 
)

Definition at line 332 of file alState.c.

AL_API ALenum AL_APIENTRY alGetEnumValue ( const ALchar ename)

Definition at line 95 of file alExtension.c.

Referenced by GetFormat(), LoadEffect(), and printEFXInfo().

AL_API ALenum AL_APIENTRY alGetError ( void  )

Error retrieval.

Obtain the first error generated in the AL context since the last check.

Definition at line 46 of file alError.c.

Referenced by checkALErrors(), DeletePlayer(), LoadEffect(), LoadSound(), main(), NewPlayer(), printEFXInfo(), StartPlayer(), and UpdatePlayer().

AL_API ALfloat AL_APIENTRY alGetFloat ( ALenum  param)

Definition at line 211 of file alState.c.

Referenced by alGetFloatv().

AL_API void AL_APIENTRY alGetFloatv ( ALenum  param,
ALfloat values 
)

Definition at line 367 of file alState.c.

AL_API ALint AL_APIENTRY alGetInteger ( ALenum  param)

Definition at line 254 of file alState.c.

Referenced by alGetIntegerv().

AL_API void AL_APIENTRY alGetIntegerv ( ALenum  param,
ALint values 
)

Definition at line 402 of file alState.c.

AL_API void AL_APIENTRY alGetListener3f ( ALenum  param,
ALfloat value1,
ALfloat value2,
ALfloat value3 
)

Definition at line 288 of file alListener.c.

Referenced by alGetListenerfv().

AL_API void AL_APIENTRY alGetListener3i ( ALenum  param,
ALint value1,
ALint value2,
ALint value3 
)

Definition at line 395 of file alListener.c.

Referenced by alGetListeneriv().

AL_API void AL_APIENTRY alGetListenerf ( ALenum  param,
ALfloat value 
)

Get Listener parameters

Definition at line 258 of file alListener.c.

Referenced by alGetListenerfv().

AL_API void AL_APIENTRY alGetListenerfv ( ALenum  param,
ALfloat values 
)

Definition at line 326 of file alListener.c.

AL_API void AL_APIENTRY alGetListeneri ( ALenum  param,
ALint value 
)

Definition at line 373 of file alListener.c.

AL_API void AL_APIENTRY alGetListeneriv ( ALenum  param,
ALint values 
)

Definition at line 433 of file alListener.c.

AL_API void* AL_APIENTRY alGetProcAddress ( const ALchar fname)

Definition at line 88 of file alExtension.c.

Referenced by main().

AL_API void AL_APIENTRY alGetSource3f ( ALuint  source,
ALenum  param,
ALfloat value1,
ALfloat value2,
ALfloat value3 
)

Definition at line 1626 of file alSource.c.

AL_API void AL_APIENTRY alGetSource3i ( ALuint  source,
ALenum  param,
ALint value1,
ALint value2,
ALint value3 
)

Definition at line 1775 of file alSource.c.

AL_API void AL_APIENTRY alGetSourcef ( ALuint  source,
ALenum  param,
ALfloat value 
)

Get Source parameters.

Definition at line 1601 of file alSource.c.

AL_API void AL_APIENTRY alGetSourcefv ( ALuint  source,
ALenum  param,
ALfloat values 
)

Definition at line 1655 of file alSource.c.

AL_API void AL_APIENTRY alGetSourcei ( ALuint  source,
ALenum  param,
ALint value 
)

Definition at line 1754 of file alSource.c.

Referenced by main(), and UpdatePlayer().

AL_API void AL_APIENTRY alGetSourceiv ( ALuint  source,
ALenum  param,
ALint values 
)

Definition at line 1804 of file alSource.c.

AL_API const ALchar* AL_APIENTRY alGetString ( ALenum  param)

State retrieval.

Definition at line 437 of file alState.c.

Referenced by checkALErrors(), LoadEffect(), LoadSound(), and printALInfo().

AL_API ALboolean AL_APIENTRY alIsBuffer ( ALuint  buffer)

Verify a handle is a valid Buffer

Definition at line 272 of file alBuffer.c.

Referenced by LoadSound().

AL_API ALboolean AL_APIENTRY alIsEnabled ( ALenum  capability)

Definition at line 94 of file alState.c.

AL_API ALboolean AL_APIENTRY alIsExtensionPresent ( const ALchar extname)

Extension support.

Query for the presence of an extension, and obtain any appropriate function pointers and enum values.

Definition at line 49 of file alExtension.c.

Referenced by GetFormat(), and main().

AL_API ALboolean AL_APIENTRY alIsSource ( ALuint  source)

Verify a handle is a valid Source.

Definition at line 1334 of file alSource.c.

AL_API void AL_APIENTRY alListener3f ( ALenum  param,
ALfloat  value1,
ALfloat  value2,
ALfloat  value3 
)

Definition at line 64 of file alListener.c.

Referenced by alListener3i(), alListenerfv(), and alListeneriv().

AL_API void AL_APIENTRY alListener3i ( ALenum  param,
ALint  value1,
ALint  value2,
ALint  value3 
)

Definition at line 185 of file alListener.c.

AL_API void AL_APIENTRY alListenerf ( ALenum  param,
ALfloat  value 
)

Set Listener parameters

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.html

Definition at line 29 of file alListener.c.

Referenced by alListenerfv().

AL_API void AL_APIENTRY alListenerfv ( ALenum  param,
const ALfloat values 
)

Definition at line 107 of file alListener.c.

Referenced by alListeneriv().

AL_API void AL_APIENTRY alListeneri ( ALenum  param,
ALint  value 
)

Definition at line 162 of file alListener.c.

AL_API void AL_APIENTRY alListeneriv ( ALenum  param,
const ALint values 
)

Definition at line 214 of file alListener.c.

AL_API void AL_APIENTRY alSource3f ( ALuint  source,
ALenum  param,
ALfloat  value1,
ALfloat  value2,
ALfloat  value3 
)

Definition at line 1368 of file alSource.c.

AL_API void AL_APIENTRY alSource3i ( ALuint  source,
ALenum  param,
ALint  value1,
ALint  value2,
ALint  value3 
)

Definition at line 1499 of file alSource.c.

Referenced by main(), and NewPlayer().

AL_API void AL_APIENTRY alSourcef ( ALuint  source,
ALenum  param,
ALfloat  value 
)

Set Source parameters.

Definition at line 1350 of file alSource.c.

AL_API void AL_APIENTRY alSourcefv ( ALuint  source,
ALenum  param,
const ALfloat values 
)

Definition at line 1389 of file alSource.c.

AL_API void AL_APIENTRY alSourcei ( ALuint  source,
ALenum  param,
ALint  value 
)

Definition at line 1481 of file alSource.c.

Referenced by main(), NewPlayer(), and StartPlayer().

AL_API void AL_APIENTRY alSourceiv ( ALuint  source,
ALenum  param,
const ALint values 
)

Definition at line 1520 of file alSource.c.

AL_API void AL_APIENTRY alSourcePause ( ALuint  source)

Pause a Source

Definition at line 1949 of file alSource.c.

AL_API void AL_APIENTRY alSourcePausev ( ALsizei  n,
const ALuint sources 
)

Pause a list of Sources

Definition at line 1953 of file alSource.c.

Referenced by alSourcePause().

AL_API void AL_APIENTRY alSourcePlay ( ALuint  source)

Play, replay, or resume a Source

Definition at line 1894 of file alSource.c.

Referenced by main(), StartPlayer(), and UpdatePlayer().

AL_API void AL_APIENTRY alSourcePlayv ( ALsizei  n,
const ALuint sources 
)

Play, replay, or resume (if paused) a list of Sources

Definition at line 1898 of file alSource.c.

Referenced by alSourcePlay().

AL_API void AL_APIENTRY alSourceQueueBuffers ( ALuint  source,
ALsizei  nb,
const ALuint buffers 
)

Queue buffers onto a source

Definition at line 2058 of file alSource.c.

Referenced by StartPlayer(), and UpdatePlayer().

AL_API void AL_APIENTRY alSourceRewind ( ALuint  source)

Rewind a Source (set playback postiton to beginning)

Definition at line 2021 of file alSource.c.

Referenced by StartPlayer().

AL_API void AL_APIENTRY alSourceRewindv ( ALsizei  n,
const ALuint sources 
)

Rewind a list of Sources

Definition at line 2025 of file alSource.c.

Referenced by alSourceRewind().

AL_API void AL_APIENTRY alSourceStop ( ALuint  source)

Stop a Source

Definition at line 1985 of file alSource.c.

AL_API void AL_APIENTRY alSourceStopv ( ALsizei  n,
const ALuint sources 
)

Stop a list of Sources

Definition at line 1989 of file alSource.c.

Referenced by alSourceStop().

AL_API void AL_APIENTRY alSourceUnqueueBuffers ( ALuint  source,
ALsizei  nb,
ALuint buffers 
)

Unqueue processed buffers from a source

Definition at line 2194 of file alSource.c.

Referenced by UpdatePlayer().

AL_API void AL_APIENTRY alSpeedOfSound ( ALfloat  value)

Definition at line 542 of file alState.c.