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   AL_FALSE
 
#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 bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
typedef void(AL_APIENTRYLPALBUFFER3I )(ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3)
 
typedef void(AL_APIENTRYLPALBUFFERDATA )(ALuint bid, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
 
typedef void(AL_APIENTRYLPALBUFFERF )(ALuint bid, ALenum param, ALfloat value)
 
typedef void(AL_APIENTRYLPALBUFFERFV )(ALuint bid, ALenum param, const ALfloat *values)
 
typedef void(AL_APIENTRYLPALBUFFERI )(ALuint bid, ALenum param, ALint value)
 
typedef void(AL_APIENTRYLPALBUFFERIV )(ALuint bid, 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 *data)
 
typedef void(AL_APIENTRYLPALGETBUFFER3F )(ALuint bid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
typedef void(AL_APIENTRYLPALGETBUFFER3I )(ALuint bid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
typedef void(AL_APIENTRYLPALGETBUFFERF )(ALuint bid, ALenum param, ALfloat *value)
 
typedef void(AL_APIENTRYLPALGETBUFFERFV )(ALuint bid, ALenum param, ALfloat *values)
 
typedef void(AL_APIENTRYLPALGETBUFFERI )(ALuint bid, ALenum param, ALint *value)
 
typedef void(AL_APIENTRYLPALGETBUFFERIV )(ALuint bid, ALenum param, ALint *values)
 
typedef ALdouble(AL_APIENTRYLPALGETDOUBLE )(ALenum param)
 
typedef void(AL_APIENTRYLPALGETDOUBLEV )(ALenum param, ALdouble *data)
 
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 *data)
 
typedef ALint(AL_APIENTRYLPALGETINTEGER )(ALenum param)
 
typedef void(AL_APIENTRYLPALGETINTEGERV )(ALenum param, ALint *data)
 
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 sid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
typedef void(AL_APIENTRYLPALGETSOURCE3I )(ALuint sid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
typedef void(AL_APIENTRYLPALGETSOURCEF )(ALuint sid, ALenum param, ALfloat *value)
 
typedef void(AL_APIENTRYLPALGETSOURCEFV )(ALuint sid, ALenum param, ALfloat *values)
 
typedef void(AL_APIENTRYLPALGETSOURCEI )(ALuint sid, ALenum param, ALint *value)
 
typedef void(AL_APIENTRYLPALGETSOURCEIV )(ALuint sid, ALenum param, ALint *values)
 
typedef const ALchar
*(AL_APIENTRY
LPALGETSTRING )(ALenum param)
 
typedef ALboolean(AL_APIENTRYLPALISBUFFER )(ALuint bid)
 
typedef ALboolean(AL_APIENTRYLPALISENABLED )(ALenum capability)
 
typedef ALboolean(AL_APIENTRYLPALISEXTENSIONPRESENT )(const ALchar *extname)
 
typedef ALboolean(AL_APIENTRYLPALISSOURCE )(ALuint sid)
 
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 sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
typedef void(AL_APIENTRYLPALSOURCE3I )(ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3)
 
typedef void(AL_APIENTRYLPALSOURCEF )(ALuint sid, ALenum param, ALfloat value)
 
typedef void(AL_APIENTRYLPALSOURCEFV )(ALuint sid, ALenum param, const ALfloat *values)
 
typedef void(AL_APIENTRYLPALSOURCEI )(ALuint sid, ALenum param, ALint value)
 
typedef void(AL_APIENTRYLPALSOURCEIV )(ALuint sid, ALenum param, const ALint *values)
 
typedef void(AL_APIENTRYLPALSOURCEPAUSE )(ALuint sid)
 
typedef void(AL_APIENTRYLPALSOURCEPAUSEV )(ALsizei ns, const ALuint *sids)
 
typedef void(AL_APIENTRYLPALSOURCEPLAY )(ALuint sid)
 
typedef void(AL_APIENTRYLPALSOURCEPLAYV )(ALsizei ns, const ALuint *sids)
 
typedef void(AL_APIENTRYLPALSOURCEQUEUEBUFFERS )(ALuint sid, ALsizei numEntries, const ALuint *bids)
 
typedef void(AL_APIENTRYLPALSOURCEREWIND )(ALuint sid)
 
typedef void(AL_APIENTRYLPALSOURCEREWINDV )(ALsizei ns, const ALuint *sids)
 
typedef void(AL_APIENTRYLPALSOURCESTOP )(ALuint sid)
 
typedef void(AL_APIENTRYLPALSOURCESTOPV )(ALsizei ns, const ALuint *sids)
 
typedef void(AL_APIENTRYLPALSOURCEUNQUEUEBUFFERS )(ALuint sid, ALsizei numEntries, ALuint *bids)
 
typedef void(AL_APIENTRYLPALSPEEDOFSOUND )(ALfloat value)
 

Functions

AL_API void AL_APIENTRY alBuffer3f (ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
AL_API void AL_APIENTRY alBuffer3i (ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3)
 
AL_API void AL_APIENTRY alBufferData (ALuint bid, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
 
AL_API void AL_APIENTRY alBufferf (ALuint bid, ALenum param, ALfloat value)
 
AL_API void AL_APIENTRY alBufferfv (ALuint bid, ALenum param, const ALfloat *values)
 
AL_API void AL_APIENTRY alBufferi (ALuint bid, ALenum param, ALint value)
 
AL_API void AL_APIENTRY alBufferiv (ALuint bid, 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 *data)
 
AL_API void AL_APIENTRY alGetBuffer3f (ALuint bid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
AL_API void AL_APIENTRY alGetBuffer3i (ALuint bid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
AL_API void AL_APIENTRY alGetBufferf (ALuint bid, ALenum param, ALfloat *value)
 
AL_API void AL_APIENTRY alGetBufferfv (ALuint bid, ALenum param, ALfloat *values)
 
AL_API void AL_APIENTRY alGetBufferi (ALuint bid, ALenum param, ALint *value)
 
AL_API void AL_APIENTRY alGetBufferiv (ALuint bid, ALenum param, ALint *values)
 
AL_API ALdouble AL_APIENTRY alGetDouble (ALenum param)
 
AL_API void AL_APIENTRY alGetDoublev (ALenum param, ALdouble *data)
 
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 *data)
 
AL_API ALint AL_APIENTRY alGetInteger (ALenum param)
 
AL_API void AL_APIENTRY alGetIntegerv (ALenum param, ALint *data)
 
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 sid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
 
AL_API void AL_APIENTRY alGetSource3i (ALuint sid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
 
AL_API void AL_APIENTRY alGetSourcef (ALuint sid, ALenum param, ALfloat *value)
 
AL_API void AL_APIENTRY alGetSourcefv (ALuint sid, ALenum param, ALfloat *values)
 
AL_API void AL_APIENTRY alGetSourcei (ALuint sid, ALenum param, ALint *value)
 
AL_API void AL_APIENTRY alGetSourceiv (ALuint sid, ALenum param, ALint *values)
 
AL_API const ALchar *AL_APIENTRY alGetString (ALenum param)
 
AL_API ALboolean AL_APIENTRY alIsBuffer (ALuint bid)
 
AL_API ALboolean AL_APIENTRY alIsEnabled (ALenum capability)
 
AL_API ALboolean AL_APIENTRY alIsExtensionPresent (const ALchar *extname)
 
AL_API ALboolean AL_APIENTRY alIsSource (ALuint sid)
 
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 sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
 
AL_API void AL_APIENTRY alSource3i (ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3)
 
AL_API void AL_APIENTRY alSourcef (ALuint sid, ALenum param, ALfloat value)
 
AL_API void AL_APIENTRY alSourcefv (ALuint sid, ALenum param, const ALfloat *values)
 
AL_API void AL_APIENTRY alSourcei (ALuint sid, ALenum param, ALint value)
 
AL_API void AL_APIENTRY alSourceiv (ALuint sid, ALenum param, const ALint *values)
 
AL_API void AL_APIENTRY alSourcePause (ALuint sid)
 
AL_API void AL_APIENTRY alSourcePausev (ALsizei ns, const ALuint *sids)
 
AL_API void AL_APIENTRY alSourcePlay (ALuint sid)
 
AL_API void AL_APIENTRY alSourcePlayv (ALsizei ns, const ALuint *sids)
 
AL_API void AL_APIENTRY alSourceQueueBuffers (ALuint sid, ALsizei numEntries, const ALuint *bids)
 
AL_API void AL_APIENTRY alSourceRewind (ALuint sid)
 
AL_API void AL_APIENTRY alSourceRewindv (ALsizei ns, const ALuint *sids)
 
AL_API void AL_APIENTRY alSourceStop (ALuint sid)
 
AL_API void AL_APIENTRY alSourceStopv (ALsizei ns, const ALuint *sids)
 
AL_API void AL_APIENTRY alSourceUnqueueBuffers (ALuint sid, ALsizei numEntries, ALuint *bids)
 
AL_API void AL_APIENTRY alSpeedOfSound (ALfloat value)
 

Macro Definition Documentation

#define AL_API   extern

Definition at line 20 of file al.h.

#define AL_APIENTRY

Definition at line 27 of file al.h.

#define AL_BITS   0x2002

Definition at line 281 of file al.h.

#define AL_BUFFER   0x1009

Indicate the buffer to provide sound samples. Type: ALuint. Range: any valid Buffer id.

Definition at line 158 of file al.h.

#define AL_BUFFERS_PROCESSED   0x1016

Definition at line 211 of file al.h.

#define AL_BUFFERS_QUEUED   0x1015

Buffer Queue params

Definition at line 210 of file al.h.

#define AL_BYTE_OFFSET   0x1026

Definition at line 218 of file al.h.

#define AL_CHANNELS   0x2003

Definition at line 282 of file al.h.

#define AL_CONE_INNER_ANGLE   0x1001

Directional source, inner cone angle, in degrees. Range: [0-360] Default: 360

Definition at line 111 of file al.h.

#define AL_CONE_OUTER_ANGLE   0x1002

Directional source, outer cone angle, in degrees. Range: [0-360] Default: 360

Definition at line 118 of file al.h.

#define AL_CONE_OUTER_GAIN   0x1022

Directional source, outer cone gain.

Default: 0.0 Range: [0.0 - 1.0] Logarithmic

Definition at line 262 of file al.h.

#define AL_DIRECTION   0x1005

Specify the current direction.

Definition at line 140 of file al.h.

#define AL_DISTANCE_MODEL   0xD000

Distance models

used in conjunction with DistanceModel

implicit: NONE, which disances distance attenuation.

Definition at line 355 of file al.h.

#define AL_DOPPLER_FACTOR   0xC000

Global tweakage. Doppler scale. Default 1.0

Definition at line 336 of file al.h.

#define AL_DOPPLER_VELOCITY   0xC001

Tweaks speed of propagation.

Definition at line 341 of file al.h.

#define AL_EXPONENT_DISTANCE   0xD005

Definition at line 360 of file al.h.

#define AL_EXPONENT_DISTANCE_CLAMPED   0xD006

Definition at line 361 of file al.h.

#define AL_EXTENSIONS   0xB004

Definition at line 329 of file al.h.

#define AL_FALSE   0

Definition at line 96 of file al.h.

#define AL_FORMAT_MONO16   0x1101

Definition at line 233 of file al.h.

#define AL_FORMAT_MONO8   0x1100

Sound samples: format specifier.

Definition at line 232 of file al.h.

#define AL_FORMAT_STEREO16   0x1103

Definition at line 235 of file al.h.

#define AL_FORMAT_STEREO8   0x1102

Definition at line 234 of file al.h.

#define AL_FREQUENCY   0x2001

Sound samples: frequency, in units of Hertz [Hz]. This is the number of samples per second. Half of the sample frequency marks the maximum significant frequency component.

Definition at line 280 of file al.h.

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

Definition at line 171 of file al.h.

#define AL_ILLEGAL_COMMAND   AL_INVALID_OPERATION

Definition at line 44 of file al.h.

#define AL_ILLEGAL_ENUM   AL_INVALID_ENUM

Definition at line 43 of file al.h.

#define AL_INITIAL   0x1011

Definition at line 202 of file al.h.

#define AL_INVALID   (-1)

Definition at line 42 of file al.h.

#define AL_INVALID_ENUM   0xA002

Invalid parameter passed to AL call.

Definition at line 306 of file al.h.

#define AL_INVALID_NAME   0xA001

Invalid Name paramater passed to AL call.

Definition at line 301 of file al.h.

#define AL_INVALID_OPERATION   0xA004

Illegal call.

Definition at line 316 of file al.h.

#define AL_INVALID_VALUE   0xA003

Invalid enum parameter value.

Definition at line 311 of file al.h.

#define AL_INVERSE_DISTANCE   0xD001

Definition at line 356 of file al.h.

#define AL_INVERSE_DISTANCE_CLAMPED   0xD002

Definition at line 357 of file al.h.

#define AL_LINEAR_DISTANCE   0xD003

Definition at line 358 of file al.h.

#define AL_LINEAR_DISTANCE_CLAMPED   0xD004

Definition at line 359 of file al.h.

#define AL_LOOPING   0x1007

Indicate whether source is looping. Type: ALboolean? Range: [AL_TRUE, AL_FALSE] Default: FALSE.

Definition at line 151 of file al.h.

#define AL_MAX_DISTANCE   0x1023

Indicate distance above which sources are not attenuated using the inverse clamped distance model.

Default: +inf Type: ALfloat Range: 0.0 - +inf

Definition at line 272 of file al.h.

#define AL_MAX_GAIN   0x100E

Indicate maximum source attenuation Type: ALfloat Range: [0.0 - 1.0]

Logarthmic

Definition at line 189 of file al.h.

#define AL_MIN_GAIN   0x100D

Definition at line 180 of file al.h.

#define AL_NO_ERROR   AL_FALSE

Errors: No Error.

Definition at line 296 of file al.h.

#define AL_NONE   0

Definition at line 93 of file al.h.

#define AL_ORIENTATION   0x100F

Indicate listener orientation.

at/up

Definition at line 196 of file al.h.

#define AL_OUT_OF_MEMORY   0xA005

No mojo.

Definition at line 322 of file al.h.

#define AL_PAUSED   0x1013

Definition at line 204 of file al.h.

#define AL_PENDING   0x2011

Definition at line 291 of file al.h.

#define AL_PITCH   0x1003

Specify the pitch to be applied at source. Range: [0.5-2.0] Default: 1.0

Definition at line 125 of file al.h.

#define AL_PLAYING   0x1012

Definition at line 203 of file al.h.

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

Definition at line 137 of file al.h.

#define AL_PROCESSED   0x2012

Definition at line 292 of file al.h.

#define AL_REFERENCE_DISTANCE   0x1020

source specific reference distance Type: ALfloat Range: 0.0 - +inf

At 0.0, no distance attenuation occurs. Default is 1.0.

Definition at line 245 of file al.h.

#define AL_RENDERER   0xB003

Definition at line 328 of file al.h.

#define AL_ROLLOFF_FACTOR   0x1021

source specific rolloff factor Type: ALfloat Range: 0.0 - +inf

Definition at line 253 of file al.h.

#define AL_SAMPLE_OFFSET   0x1025

Definition at line 217 of file al.h.

#define AL_SEC_OFFSET   0x1024

Source buffer position information

Definition at line 216 of file al.h.

#define AL_SIZE   0x2004

Definition at line 283 of file al.h.

#define AL_SOURCE_RELATIVE   0x202

Indicate Source has relative coordinates.

Definition at line 102 of file al.h.

#define AL_SOURCE_STATE   0x1010

Source state information.

Definition at line 201 of file al.h.

#define AL_SOURCE_TYPE   0x1027

Definition at line 226 of file al.h.

#define AL_SPEED_OF_SOUND   0xC003

Speed of Sound in units per second

Definition at line 346 of file al.h.

#define AL_STATIC   0x1028

Definition at line 227 of file al.h.

#define AL_STOPPED   0x1014

Definition at line 205 of file al.h.

#define AL_STREAMING   0x1029

Definition at line 228 of file al.h.

#define AL_TRUE   1

Boolean True.

Definition at line 99 of file al.h.

#define AL_UNDETERMINED   0x1030

Definition at line 229 of file al.h.

#define AL_UNUSED   0x2010

Buffer state.

Not supported for public use (yet).

Definition at line 290 of file al.h.

#define AL_VELOCITY   0x1006

Specify the current velocity in three dimensional space.

Definition at line 143 of file al.h.

#define AL_VENDOR   0xB001

Context strings: Vendor Name.

Definition at line 326 of file al.h.

#define AL_VERSION   0xB002

Definition at line 327 of file al.h.

#define AL_VERSION_1_0

Definition at line 46 of file al.h.

#define AL_VERSION_1_1

Definition at line 47 of file al.h.

#define ALAPI   AL_API

Definition at line 40 of file al.h.

#define ALAPIENTRY   AL_APIENTRY

Definition at line 41 of file al.h.

#define OPENAL

Definition at line 39 of file al.h.

Typedef Documentation

typedef char ALboolean

8-bit boolean

Definition at line 51 of file al.h.

typedef signed char ALbyte

signed 8-bit 2's complement integer

Definition at line 57 of file al.h.

typedef char ALchar

character

Definition at line 54 of file al.h.

typedef double ALdouble

64-bit IEEE754 floating-point

Definition at line 84 of file al.h.

typedef int ALenum

enumerated 32-bit value

Definition at line 78 of file al.h.

typedef float ALfloat

32-bit IEEE754 floating-point

Definition at line 81 of file al.h.

typedef int ALint

signed 32-bit 2's complement integer

Definition at line 69 of file al.h.

typedef short ALshort

signed 16-bit 2's complement integer

Definition at line 63 of file al.h.

typedef int ALsizei

non-negative 32-bit binary integer size

Definition at line 75 of file al.h.

typedef unsigned char ALubyte

unsigned 8-bit integer

Definition at line 60 of file al.h.

typedef unsigned int ALuint

unsigned 32-bit integer

Definition at line 72 of file al.h.

typedef unsigned short ALushort

unsigned 16-bit integer

Definition at line 66 of file al.h.

typedef void ALvoid

void type (for opaque pointers only)

Definition at line 87 of file al.h.

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

Definition at line 700 of file al.h.

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

Definition at line 703 of file al.h.

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

Definition at line 698 of file al.h.

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

Definition at line 699 of file al.h.

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

Definition at line 701 of file al.h.

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

Definition at line 702 of file al.h.

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

Definition at line 704 of file al.h.

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

Definition at line 696 of file al.h.

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

Definition at line 671 of file al.h.

typedef void(AL_APIENTRY * LPALDISABLE)(ALenum capability)

Definition at line 643 of file al.h.

typedef void(AL_APIENTRY * LPALDISTANCEMODEL)(ALenum distanceModel)

Definition at line 714 of file al.h.

typedef void(AL_APIENTRY * LPALDOPPLERFACTOR)(ALfloat value)

Definition at line 711 of file al.h.

typedef void(AL_APIENTRY * LPALDOPPLERVELOCITY)(ALfloat value)

Definition at line 712 of file al.h.

typedef void(AL_APIENTRY * LPALENABLE)(ALenum capability)

Definition at line 642 of file al.h.

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

Definition at line 695 of file al.h.

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

Definition at line 670 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALGETBOOLEAN)(ALenum param)

Definition at line 650 of file al.h.

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

Definition at line 646 of file al.h.

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

Definition at line 706 of file al.h.

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

Definition at line 709 of file al.h.

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

Definition at line 705 of file al.h.

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

Definition at line 707 of file al.h.

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

Definition at line 708 of file al.h.

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

Definition at line 710 of file al.h.

typedef ALdouble(AL_APIENTRY * LPALGETDOUBLE)(ALenum param)

Definition at line 653 of file al.h.

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

Definition at line 649 of file al.h.

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

Definition at line 657 of file al.h.

typedef ALenum(AL_APIENTRY * LPALGETERROR)(void)

Definition at line 654 of file al.h.

typedef ALfloat(AL_APIENTRY * LPALGETFLOAT)(ALenum param)

Definition at line 652 of file al.h.

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

Definition at line 648 of file al.h.

typedef ALint(AL_APIENTRY * LPALGETINTEGER)(ALenum param)

Definition at line 651 of file al.h.

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

Definition at line 647 of file al.h.

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

Definition at line 665 of file al.h.

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

Definition at line 668 of file al.h.

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

Definition at line 664 of file al.h.

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

Definition at line 666 of file al.h.

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

Definition at line 667 of file al.h.

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

Definition at line 669 of file al.h.

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

Definition at line 656 of file al.h.

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

Definition at line 680 of file al.h.

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

Definition at line 683 of file al.h.

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

Definition at line 679 of file al.h.

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

Definition at line 681 of file al.h.

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

Definition at line 682 of file al.h.

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

Definition at line 684 of file al.h.

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

Definition at line 645 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISBUFFER)(ALuint bid)

Definition at line 697 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISENABLED)(ALenum capability)

Definition at line 644 of file al.h.

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

Definition at line 655 of file al.h.

typedef ALboolean(AL_APIENTRY * LPALISSOURCE)(ALuint sid)

Definition at line 672 of file al.h.

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

Definition at line 659 of file al.h.

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

Definition at line 662 of file al.h.

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

Definition at line 658 of file al.h.

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

Definition at line 660 of file al.h.

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

Definition at line 661 of file al.h.

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

Definition at line 663 of file al.h.

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

Definition at line 674 of file al.h.

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

Definition at line 677 of file al.h.

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

Definition at line 673 of file al.h.

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

Definition at line 675 of file al.h.

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

Definition at line 676 of file al.h.

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

Definition at line 678 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPAUSE)(ALuint sid)

Definition at line 692 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPAUSEV)(ALsizei ns, const ALuint *sids)

Definition at line 688 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPLAY)(ALuint sid)

Definition at line 689 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEPLAYV)(ALsizei ns, const ALuint *sids)

Definition at line 685 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEQUEUEBUFFERS)(ALuint sid, ALsizei numEntries, const ALuint *bids)

Definition at line 693 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEREWIND)(ALuint sid)

Definition at line 691 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEREWINDV)(ALsizei ns, const ALuint *sids)

Definition at line 687 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCESTOP)(ALuint sid)

Definition at line 690 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCESTOPV)(ALsizei ns, const ALuint *sids)

Definition at line 686 of file al.h.

typedef void(AL_APIENTRY * LPALSOURCEUNQUEUEBUFFERS)(ALuint sid, ALsizei numEntries, ALuint *bids)

Definition at line 694 of file al.h.

typedef void(AL_APIENTRY * LPALSPEEDOFSOUND)(ALfloat value)

Definition at line 713 of file al.h.

Function Documentation

AL_API void AL_APIENTRY alBuffer3f ( ALuint  bid,
ALenum  param,
ALfloat  value1,
ALfloat  value2,
ALfloat  value3 
)
AL_API void AL_APIENTRY alBuffer3i ( ALuint  bid,
ALenum  param,
ALint  value1,
ALint  value2,
ALint  value3 
)
AL_API void AL_APIENTRY alBufferf ( ALuint  bid,
ALenum  param,
ALfloat  value 
)
AL_API void AL_APIENTRY alGenBuffers ( ALsizei  n,
ALuint buffers 
)

BUFFER Buffer objects are storage space for sample data. Buffers are referred to by Sources. One Buffer can be used by multiple Sources.

Properties include: -

Frequency (Query only) AL_FREQUENCY ALint Size (Query only) AL_SIZE ALint Bits (Query only) AL_BITS ALint Channels (Query only) AL_CHANNELS ALint

Create Buffer objects

Definition at line 183 of file alBuffer.c.

References al_catchany, al_endtry, AL_NO_ERROR, AL_OUT_OF_MEMORY, al_throwerr, al_try, ALCcontext_DecRef(), alDeleteBuffers(), ALCdevice_struct::BufferMap, calloc, CHECK_VALUE, ALCcontext_struct::Device, free, FreeThunkEntry(), GetContextRef(), ALbuffer::id, InsertUIntMapEntry(), ALbuffer::lock, memset, NewThunkEntry(), and RWLockInit().

AL_API void AL_APIENTRY alGenSources ( ALsizei  n,
ALuint sources 
)

SOURCE Sources represent individual sound objects in 3D-space. Sources take the PCM data provided in the specified Buffer, apply Source-specific modifications, and then submit them to be mixed according to spatial arrangement etc.

Properties include: -

Gain AL_GAIN ALfloat Min Gain AL_MIN_GAIN ALfloat Max Gain AL_MAX_GAIN ALfloat Position AL_POSITION ALfloat[3] Velocity AL_VELOCITY ALfloat[3] Direction AL_DIRECTION ALfloat[3] Head Relative Mode AL_SOURCE_RELATIVE ALint (AL_TRUE or AL_FALSE) Reference Distance AL_REFERENCE_DISTANCE ALfloat Max Distance AL_MAX_DISTANCE ALfloat RollOff Factor AL_ROLLOFF_FACTOR ALfloat Inner Angle AL_CONE_INNER_ANGLE ALint or ALfloat Outer Angle AL_CONE_OUTER_ANGLE ALint or ALfloat Cone Outer Gain AL_CONE_OUTER_GAIN ALint or ALfloat Pitch AL_PITCH ALfloat Looping AL_LOOPING ALint (AL_TRUE or AL_FALSE) MS Offset AL_MSEC_OFFSET ALint or ALfloat Byte Offset AL_BYTE_OFFSET ALint or ALfloat Sample Offset AL_SAMPLE_OFFSET ALint or ALfloat Attached Buffer AL_BUFFER ALint State (Query only) AL_SOURCE_STATE ALint Buffers Queued (Query only) AL_BUFFERS_QUEUED ALint Buffers Processed (Query only) AL_BUFFERS_PROCESSED ALint

Create Source objects.

Definition at line 1216 of file alSource.c.

References al_calloc(), al_catchany, al_endtry, al_free(), AL_NO_ERROR, AL_OUT_OF_MEMORY, al_throwerr, al_try, ALCcontext_DecRef(), alDeleteSources(), CHECK_VALUE, FreeThunkEntry(), GetContextRef(), ALsource::id, InitSourceParams(), InsertUIntMapEntry(), memset, NewThunkEntry(), and ALCcontext_struct::SourceMap.

AL_API void AL_APIENTRY alGetBuffer3f ( ALuint  bid,
ALenum  param,
ALfloat value1,
ALfloat value2,
ALfloat value3 
)
AL_API void AL_APIENTRY alGetBuffer3i ( ALuint  bid,
ALenum  param,
ALint value1,
ALint value2,
ALint value3 
)
AL_API ALenum AL_APIENTRY alGetEnumValue ( const ALchar ename)

Definition at line 95 of file alExtension.c.

References alcGetEnumValue().

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.

References AL_INVALID_OPERATION, AL_NO_ERROR, ALCcontext_DecRef(), GetContextRef(), ALCcontext_struct::LastError, and TrapALError.

AL_API void AL_APIENTRY alGetListeneri ( ALenum  param,
ALint value 
)
AL_API void* AL_APIENTRY alGetProcAddress ( const ALchar fname)

Definition at line 88 of file alExtension.c.

References alcGetProcAddress(), and NULL.

AL_API void AL_APIENTRY alGetSource3f ( ALuint  sid,
ALenum  param,
ALfloat value1,
ALfloat value2,
ALfloat value3 
)
AL_API void AL_APIENTRY alGetSource3i ( ALuint  sid,
ALenum  param,
ALint value1,
ALint value2,
ALint value3 
)
AL_API void AL_APIENTRY alGetSourcef ( ALuint  sid,
ALenum  param,
ALfloat value 
)
AL_API ALboolean AL_APIENTRY alIsBuffer ( ALuint  bid)

Verify a handle is a valid Buffer

Definition at line 272 of file alBuffer.c.

References AL_FALSE, AL_TRUE, ALCcontext_DecRef(), ALCcontext_struct::Device, GetContextRef(), and LookupBuffer.

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.

References al_endtry, AL_FALSE, AL_TRUE, al_try, ALCcontext_DecRef(), CHECK_VALUE, ALCcontext_struct::ExtensionList, GetContextRef(), and ret.

AL_API ALboolean AL_APIENTRY alIsSource ( ALuint  sid)

Verify a handle is a valid Source.

Definition at line 1334 of file alSource.c.

References AL_FALSE, AL_TRUE, ALCcontext_DecRef(), GetContextRef(), and LookupSource.

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

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.

References al_endtry, AL_GAIN, AL_INVALID_ENUM, AL_METERS_PER_UNIT, al_throwerr, AL_TRUE, al_try, ALCcontext_DecRef(), CHECK_VALUE, ALlistener::Gain, GetContextRef(), ALCcontext_struct::Listener, ALlistener::MetersPerUnit, and ALCcontext_struct::UpdateSources.

AL_API void AL_APIENTRY alListeneri ( ALenum  param,
ALint  value 
)
AL_API void AL_APIENTRY alSource3f ( ALuint  sid,
ALenum  param,
ALfloat  value1,
ALfloat  value2,
ALfloat  value3 
)
AL_API void AL_APIENTRY alSource3i ( ALuint  sid,
ALenum  param,
ALint  value1,
ALint  value2,
ALint  value3 
)
AL_API void AL_APIENTRY alSourcef ( ALuint  sid,
ALenum  param,
ALfloat  value 
)
AL_API void AL_APIENTRY alSourcePause ( ALuint  sid)

Pause a Source

Definition at line 1949 of file alSource.c.

References alSourcePausev().

AL_API void AL_APIENTRY alSourcePlay ( ALuint  sid)

Play, replay, or resume a Source

Definition at line 1894 of file alSource.c.

References alSourcePlayv().

AL_API void AL_APIENTRY alSourceRewind ( ALuint  sid)

Rewind a Source (set playback postiton to beginning)

Definition at line 2021 of file alSource.c.

References alSourceRewindv().

AL_API void AL_APIENTRY alSourceStop ( ALuint  sid)

Stop a Source

Definition at line 1985 of file alSource.c.

References alSourceStopv().