2016-10-23 09:30:37 +00:00
|
|
|
#ifndef AL_AL_H
|
|
|
|
#define AL_AL_H
|
|
|
|
|
2024-11-17 08:31:45 +00:00
|
|
|
/* NOLINTBEGIN */
|
2023-02-04 11:38:03 +00:00
|
|
|
#ifdef __cplusplus
|
2016-10-23 09:30:37 +00:00
|
|
|
extern "C" {
|
2024-11-17 08:31:45 +00:00
|
|
|
|
2024-11-28 08:26:37 +00:00
|
|
|
#ifdef _MSVC_LANG
|
|
|
|
#define AL_CPLUSPLUS _MSVC_LANG
|
|
|
|
#else
|
|
|
|
#define AL_CPLUSPLUS __cplusplus
|
|
|
|
#endif
|
|
|
|
|
2024-11-17 08:31:45 +00:00
|
|
|
#ifndef AL_DISABLE_NOEXCEPT
|
2024-11-28 08:26:37 +00:00
|
|
|
#if AL_CPLUSPLUS >= 201103L
|
2024-11-17 08:31:45 +00:00
|
|
|
#define AL_API_NOEXCEPT noexcept
|
2024-11-28 08:26:37 +00:00
|
|
|
#else
|
|
|
|
#define AL_API_NOEXCEPT
|
|
|
|
#endif
|
|
|
|
#if AL_CPLUSPLUS >= 201703L
|
2024-11-17 08:31:45 +00:00
|
|
|
#define AL_API_NOEXCEPT17 noexcept
|
|
|
|
#else
|
|
|
|
#define AL_API_NOEXCEPT17
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#else /* AL_DISABLE_NOEXCEPT */
|
|
|
|
|
|
|
|
#define AL_API_NOEXCEPT
|
|
|
|
#define AL_API_NOEXCEPT17
|
|
|
|
#endif
|
|
|
|
|
2024-11-28 08:26:37 +00:00
|
|
|
#undef AL_CPLUSPLUS
|
|
|
|
|
2024-11-17 08:31:45 +00:00
|
|
|
#else /* __cplusplus */
|
|
|
|
|
|
|
|
#define AL_API_NOEXCEPT
|
|
|
|
#define AL_API_NOEXCEPT17
|
2016-10-23 09:30:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AL_API
|
|
|
|
#if defined(AL_LIBTYPE_STATIC)
|
|
|
|
#define AL_API
|
|
|
|
#elif defined(_WIN32)
|
|
|
|
#define AL_API __declspec(dllimport)
|
|
|
|
#else
|
|
|
|
#define AL_API extern
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
#ifdef _WIN32
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_APIENTRY __cdecl
|
|
|
|
#else
|
|
|
|
#define AL_APIENTRY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Deprecated macros. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define OPENAL
|
|
|
|
#define ALAPI AL_API
|
|
|
|
#define ALAPIENTRY AL_APIENTRY
|
|
|
|
#define AL_INVALID (-1)
|
|
|
|
#define AL_ILLEGAL_ENUM AL_INVALID_ENUM
|
|
|
|
#define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Supported AL versions. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_VERSION_1_0
|
|
|
|
#define AL_VERSION_1_1
|
|
|
|
|
|
|
|
/** 8-bit boolean */
|
|
|
|
typedef char ALboolean;
|
|
|
|
|
|
|
|
/** character */
|
|
|
|
typedef char ALchar;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** signed 8-bit integer */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef signed char ALbyte;
|
|
|
|
|
|
|
|
/** unsigned 8-bit integer */
|
|
|
|
typedef unsigned char ALubyte;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** signed 16-bit integer */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef short ALshort;
|
|
|
|
|
|
|
|
/** unsigned 16-bit integer */
|
|
|
|
typedef unsigned short ALushort;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** signed 32-bit integer */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef int ALint;
|
|
|
|
|
|
|
|
/** unsigned 32-bit integer */
|
|
|
|
typedef unsigned int ALuint;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** non-negative 32-bit integer size */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef int ALsizei;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** 32-bit enumeration value */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef int ALenum;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** 32-bit IEEE-754 floating-point */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef float ALfloat;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** 64-bit IEEE-754 floating-point */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef double ALdouble;
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** void type (opaque pointers only) */
|
2016-10-23 09:30:37 +00:00
|
|
|
typedef void ALvoid;
|
|
|
|
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Enumeration values begin at column 50. Do not use tabs. */
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** No distance model or no buffer */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_NONE 0
|
|
|
|
|
|
|
|
/** Boolean False. */
|
|
|
|
#define AL_FALSE 0
|
|
|
|
|
|
|
|
/** Boolean True. */
|
|
|
|
#define AL_TRUE 1
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Relative source.
|
|
|
|
* Type: ALboolean
|
2023-02-04 11:38:03 +00:00
|
|
|
* Range: [AL_FALSE, AL_TRUE]
|
2016-10-23 09:30:37 +00:00
|
|
|
* Default: AL_FALSE
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* Specifies if the source uses relative coordinates.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_SOURCE_RELATIVE 0x202
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Inner cone angle, in degrees.
|
|
|
|
* Type: ALint, ALfloat
|
|
|
|
* Range: [0 - 360]
|
|
|
|
* Default: 360
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* The angle covered by the inner cone, the area within which the source will
|
|
|
|
* not be attenuated by direction.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_CONE_INNER_ANGLE 0x1001
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Outer cone angle, in degrees.
|
|
|
|
* Range: [0 - 360]
|
|
|
|
* Default: 360
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* The angle covered by the outer cone, the area outside of which the source
|
|
|
|
* will be fully attenuated by direction.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_CONE_OUTER_ANGLE 0x1002
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source pitch.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.5 - 2.0]
|
|
|
|
* Default: 1.0
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* A multiplier for the sample rate of the source's buffer.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_PITCH 0x1003
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source or listener position.
|
|
|
|
* Type: ALfloat[3], ALint[3]
|
|
|
|
* Default: {0, 0, 0}
|
|
|
|
*
|
|
|
|
* The source or listener location in three dimensional space.
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* OpenAL uses a right handed coordinate system, like OpenGL, where with a
|
|
|
|
* default view, X points right (thumb), Y points up (index finger), and Z
|
|
|
|
* points towards the viewer/camera (middle finger).
|
2016-10-23 09:30:37 +00:00
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* To change from or to a left handed coordinate system, negate the Z
|
|
|
|
* component.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_POSITION 0x1004
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source direction.
|
|
|
|
* Type: ALfloat[3], ALint[3]
|
|
|
|
* Default: {0, 0, 0}
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* Specifies the current direction in local space. A zero-length vector
|
|
|
|
* specifies an omni-directional source (cone is ignored).
|
|
|
|
*
|
|
|
|
* To change from or to a left handed coordinate system, negate the Z
|
|
|
|
* component.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_DIRECTION 0x1005
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source or listener velocity.
|
|
|
|
* Type: ALfloat[3], ALint[3]
|
|
|
|
* Default: {0, 0, 0}
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* Specifies the current velocity, relative to the position.
|
|
|
|
*
|
|
|
|
* To change from or to a left handed coordinate system, negate the Z
|
|
|
|
* component.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_VELOCITY 0x1006
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source looping.
|
|
|
|
* Type: ALboolean
|
2023-02-04 11:38:03 +00:00
|
|
|
* Range: [AL_FALSE, AL_TRUE]
|
2016-10-23 09:30:37 +00:00
|
|
|
* Default: AL_FALSE
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* Specifies whether source playback loops.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_LOOPING 0x1007
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source buffer.
|
2023-02-04 11:38:03 +00:00
|
|
|
* Type: ALuint
|
|
|
|
* Range: any valid Buffer ID
|
|
|
|
* Default: AL_NONE
|
2016-10-23 09:30:37 +00:00
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* Specifies the buffer to provide sound samples for a source.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_BUFFER 0x1009
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source or listener gain.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.0 - ]
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* For sources, an initial linear gain value (before attenuation is applied).
|
|
|
|
* For the listener, an output linear gain adjustment.
|
|
|
|
*
|
2016-10-23 09:30:37 +00:00
|
|
|
* A value of 1.0 means unattenuated. Each division by 2 equals an attenuation
|
2023-02-04 11:38:03 +00:00
|
|
|
* of about -6dB. Each multiplication by 2 equals an amplification of about
|
2016-10-23 09:30:37 +00:00
|
|
|
* +6dB.
|
|
|
|
*/
|
|
|
|
#define AL_GAIN 0x100A
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Minimum source gain.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.0 - 1.0]
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* The minimum gain allowed for a source, after distance and cone attenuation
|
|
|
|
* are applied (if applicable).
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_MIN_GAIN 0x100D
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Maximum source gain.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.0 - 1.0]
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* The maximum gain allowed for a source, after distance and cone attenuation
|
|
|
|
* are applied (if applicable).
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_MAX_GAIN 0x100E
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Listener orientation.
|
2023-02-04 11:38:03 +00:00
|
|
|
* Type: ALfloat[6]
|
2016-10-23 09:30:37 +00:00
|
|
|
* 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
|
2023-02-04 11:38:03 +00:00
|
|
|
* "at") and the second is the top (or "up"). Both vectors are relative to the
|
|
|
|
* listener position.
|
2016-10-23 09:30:37 +00:00
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* To change from or to a left handed coordinate system, negate the Z
|
|
|
|
* component of both vectors.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_ORIENTATION 0x100F
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source state (query only).
|
2023-02-04 11:38:03 +00:00
|
|
|
* Type: ALenum
|
2016-10-23 09:30:37 +00:00
|
|
|
* Range: [AL_INITIAL, AL_PLAYING, AL_PAUSED, AL_STOPPED]
|
|
|
|
*/
|
|
|
|
#define AL_SOURCE_STATE 0x1010
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Source state values. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_INITIAL 0x1011
|
|
|
|
#define AL_PLAYING 0x1012
|
|
|
|
#define AL_PAUSED 0x1013
|
|
|
|
#define AL_STOPPED 0x1014
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source Buffer Queue size (query only).
|
|
|
|
* Type: ALint
|
|
|
|
*
|
|
|
|
* The number of buffers queued using alSourceQueueBuffers, minus the buffers
|
|
|
|
* removed with alSourceUnqueueBuffers.
|
|
|
|
*/
|
|
|
|
#define AL_BUFFERS_QUEUED 0x1015
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
#define AL_BUFFERS_PROCESSED 0x1016
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source reference distance.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.0 - ]
|
|
|
|
* Default: 1.0
|
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* The distance in units that no distance attenuation occurs.
|
2016-10-23 09:30:37 +00:00
|
|
|
*
|
2023-02-04 11:38:03 +00:00
|
|
|
* At 0.0, no distance attenuation occurs with non-linear attenuation models.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_REFERENCE_DISTANCE 0x1020
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
#define AL_ROLLOFF_FACTOR 0x1021
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
2023-02-04 11:38:03 +00:00
|
|
|
* outer cone angle.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_CONE_OUTER_GAIN 0x1022
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source maximum distance.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.0 - ]
|
2020-11-07 09:43:11 +00:00
|
|
|
* Default: FLT_MAX
|
2016-10-23 09:30:37 +00:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
#define AL_MAX_DISTANCE 0x1023
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Source buffer offset, in seconds */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_SEC_OFFSET 0x1024
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Source buffer offset, in sample frames */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_SAMPLE_OFFSET 0x1025
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Source buffer offset, in bytes */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_BYTE_OFFSET 0x1026
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Source type (query only).
|
2023-02-04 11:38:03 +00:00
|
|
|
* Type: ALenum
|
2016-10-23 09:30:37 +00:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
#define AL_SOURCE_TYPE 0x1027
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Source type values. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_STATIC 0x1028
|
|
|
|
#define AL_STREAMING 0x1029
|
|
|
|
#define AL_UNDETERMINED 0x1030
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/** Unsigned 8-bit mono buffer format. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_FORMAT_MONO8 0x1100
|
2020-11-07 09:43:11 +00:00
|
|
|
/** Signed 16-bit mono buffer format. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_FORMAT_MONO16 0x1101
|
2020-11-07 09:43:11 +00:00
|
|
|
/** Unsigned 8-bit stereo buffer format. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_FORMAT_STEREO8 0x1102
|
2020-11-07 09:43:11 +00:00
|
|
|
/** Signed 16-bit stereo buffer format. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_FORMAT_STEREO16 0x1103
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Buffer frequency/sample rate (query only). */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_FREQUENCY 0x2001
|
|
|
|
/** Buffer bits per sample (query only). */
|
|
|
|
#define AL_BITS 0x2002
|
|
|
|
/** Buffer channel count (query only). */
|
|
|
|
#define AL_CHANNELS 0x2003
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Buffer data size in bytes (query only). */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_SIZE 0x2004
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Buffer state. Not for public use. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_UNUSED 0x2010
|
|
|
|
#define AL_PENDING 0x2011
|
|
|
|
#define AL_PROCESSED 0x2012
|
|
|
|
|
|
|
|
|
|
|
|
/** No error. */
|
|
|
|
#define AL_NO_ERROR 0
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Invalid name (ID) passed to an AL call. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_INVALID_NAME 0xA001
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Invalid enumeration passed to AL call. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_INVALID_ENUM 0xA002
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Invalid value passed to AL call. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_INVALID_VALUE 0xA003
|
|
|
|
|
|
|
|
/** Illegal AL call. */
|
|
|
|
#define AL_INVALID_OPERATION 0xA004
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Not enough memory to execute the AL call. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_OUT_OF_MEMORY 0xA005
|
|
|
|
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Context string: Vendor name. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_VENDOR 0xB001
|
|
|
|
/** Context string: Version. */
|
|
|
|
#define AL_VERSION 0xB002
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Context string: Renderer name. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_RENDERER 0xB003
|
|
|
|
/** Context string: Space-separated extension list. */
|
|
|
|
#define AL_EXTENSIONS 0xB004
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Doppler scale.
|
|
|
|
* Type: ALfloat
|
|
|
|
* Range: [0.0 - ]
|
|
|
|
* Default: 1.0
|
|
|
|
*
|
|
|
|
* Scale for source and listener velocities.
|
|
|
|
*/
|
|
|
|
#define AL_DOPPLER_FACTOR 0xC000
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Doppler velocity (deprecated).
|
|
|
|
*
|
|
|
|
* A multiplier applied to the Speed of Sound.
|
|
|
|
*/
|
|
|
|
#define AL_DOPPLER_VELOCITY 0xC001
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
2023-02-04 11:38:03 +00:00
|
|
|
* doppler effect from source and listener velocities.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
|
|
|
#define AL_SPEED_OF_SOUND 0xC003
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Distance attenuation model.
|
2023-02-04 11:38:03 +00:00
|
|
|
* Type: ALenum
|
2016-10-23 09:30:37 +00:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
#define AL_DISTANCE_MODEL 0xD000
|
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Distance model values. */
|
2016-10-23 09:30:37 +00:00
|
|
|
#define AL_INVERSE_DISTANCE 0xD001
|
|
|
|
#define AL_INVERSE_DISTANCE_CLAMPED 0xD002
|
|
|
|
#define AL_LINEAR_DISTANCE 0xD003
|
|
|
|
#define AL_LINEAR_DISTANCE_CLAMPED 0xD004
|
|
|
|
#define AL_EXPONENT_DISTANCE 0xD005
|
|
|
|
#define AL_EXPONENT_DISTANCE_CLAMPED 0xD006
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
#ifndef AL_NO_PROTOTYPES
|
2020-11-07 09:43:11 +00:00
|
|
|
/* Renderer State management. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alEnable(ALenum capability) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alDisable(ALenum capability) AL_API_NOEXCEPT;
|
|
|
|
AL_API ALboolean AL_APIENTRY alIsEnabled(ALenum capability) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Context state setting. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alDopplerFactor(ALfloat value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alDopplerVelocity(ALfloat value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alSpeedOfSound(ALfloat value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alDistanceModel(ALenum distanceModel) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
|
|
|
|
/* Context state retrieval. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API const ALchar* AL_APIENTRY alGetString(ALenum param) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetBooleanv(ALenum param, ALboolean *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetIntegerv(ALenum param, ALint *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetFloatv(ALenum param, ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetDoublev(ALenum param, ALdouble *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API ALboolean AL_APIENTRY alGetBoolean(ALenum param) AL_API_NOEXCEPT;
|
|
|
|
AL_API ALint AL_APIENTRY alGetInteger(ALenum param) AL_API_NOEXCEPT;
|
|
|
|
AL_API ALfloat AL_APIENTRY alGetFloat(ALenum param) AL_API_NOEXCEPT;
|
|
|
|
AL_API ALdouble AL_APIENTRY alGetDouble(ALenum param) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/**
|
|
|
|
* Obtain the first error generated in the AL context since the last call to
|
|
|
|
* this function.
|
|
|
|
*/
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API ALenum AL_APIENTRY alGetError(void) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2020-11-07 09:43:11 +00:00
|
|
|
/** Query for the presence of an extension on the AL context. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API ALboolean AL_APIENTRY alIsExtensionPresent(const ALchar *extname) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
/**
|
2020-11-07 09:43:11 +00:00
|
|
|
* Retrieve the address of a function. The returned function may be context-
|
|
|
|
* specific.
|
2016-10-23 09:30:37 +00:00
|
|
|
*/
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void* AL_APIENTRY alGetProcAddress(const ALchar *fname) AL_API_NOEXCEPT;
|
2020-11-07 09:43:11 +00:00
|
|
|
/**
|
|
|
|
* Retrieve the value of an enum. The returned value may be context-specific.
|
|
|
|
*/
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API ALenum AL_APIENTRY alGetEnumValue(const ALchar *ename) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Set listener parameters. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alListenerf(ALenum param, ALfloat value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alListener3f(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alListenerfv(ALenum param, const ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alListeneri(ALenum param, ALint value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alListener3i(ALenum param, ALint value1, ALint value2, ALint value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alListeneriv(ALenum param, const ALint *values) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Get listener parameters. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alGetListenerf(ALenum param, ALfloat *value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetListener3f(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetListenerfv(ALenum param, ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetListeneri(ALenum param, ALint *value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetListener3i(ALenum param, ALint *value1, ALint *value2, ALint *value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetListeneriv(ALenum param, ALint *values) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Create source objects. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alGenSources(ALsizei n, ALuint *sources) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Delete source objects. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alDeleteSources(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Verify an ID is for a valid source. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API ALboolean AL_APIENTRY alIsSource(ALuint source) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Set source parameters. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourcef(ALuint source, ALenum param, ALfloat value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alSource3f(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alSourcefv(ALuint source, ALenum param, const ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alSourcei(ALuint source, ALenum param, ALint value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alSource3i(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alSourceiv(ALuint source, ALenum param, const ALint *values) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Get source parameters. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat *value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetSourcei(ALuint source, ALenum param, ALint *value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetSource3i(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum param, ALint *values) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Play, restart, or resume a source, setting its state to AL_PLAYING. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourcePlay(ALuint source) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Stop a source, setting its state to AL_STOPPED if playing or paused. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourceStop(ALuint source) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Rewind a source, setting its state to AL_INITIAL. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourceRewind(ALuint source) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Pause a source, setting its state to AL_PAUSED if playing. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourcePause(ALuint source) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Play, restart, or resume a list of sources atomically. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Stop a list of sources atomically. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourceStopv(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Rewind a list of sources atomically. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourceRewindv(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Pause a list of sources atomically. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourcePausev(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
|
2016-10-23 09:30:37 +00:00
|
|
|
/** Queue buffers onto a source */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourceQueueBuffers(ALuint source, ALsizei nb, const ALuint *buffers) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
/** Unqueue processed buffers from a source */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei nb, ALuint *buffers) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Create buffer objects */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alGenBuffers(ALsizei n, ALuint *buffers) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Delete buffer objects */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alDeleteBuffers(ALsizei n, const ALuint *buffers) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
/** Verify an ID is a valid buffer (including the NULL buffer) */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API ALboolean AL_APIENTRY alIsBuffer(ALuint buffer) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/**
|
|
|
|
* Copies data into the buffer, interpreting it using the specified format and
|
|
|
|
* samplerate.
|
|
|
|
*/
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alBufferData(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei samplerate) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Set buffer parameters. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum param, ALfloat value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alBuffer3f(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alBufferfv(ALuint buffer, ALenum param, const ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alBufferi(ALuint buffer, ALenum param, ALint value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alBuffer3i(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alBufferiv(ALuint buffer, ALenum param, const ALint *values) AL_API_NOEXCEPT;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Get buffer parameters. */
|
2024-11-17 08:31:45 +00:00
|
|
|
AL_API void AL_APIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat *value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetBuffer3f(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat *values) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint *value) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetBuffer3i(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3) AL_API_NOEXCEPT;
|
|
|
|
AL_API void AL_APIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint *values) AL_API_NOEXCEPT;
|
2023-02-04 11:38:03 +00:00
|
|
|
#endif /* AL_NO_PROTOTYPES */
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
/* Pointer-to-function types, useful for storing dynamically loaded AL entry
|
|
|
|
* points.
|
|
|
|
*/
|
2024-11-17 08:31:45 +00:00
|
|
|
typedef void (AL_APIENTRY *LPALENABLE)(ALenum capability) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALDISABLE)(ALenum capability) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALboolean (AL_APIENTRY *LPALISENABLED)(ALenum capability) AL_API_NOEXCEPT17;
|
|
|
|
typedef const ALchar* (AL_APIENTRY *LPALGETSTRING)(ALenum param) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBOOLEANV)(ALenum param, ALboolean *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETINTEGERV)(ALenum param, ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETFLOATV)(ALenum param, ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETDOUBLEV)(ALenum param, ALdouble *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALboolean (AL_APIENTRY *LPALGETBOOLEAN)(ALenum param) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALint (AL_APIENTRY *LPALGETINTEGER)(ALenum param) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALfloat (AL_APIENTRY *LPALGETFLOAT)(ALenum param) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALdouble (AL_APIENTRY *LPALGETDOUBLE)(ALenum param) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALenum (AL_APIENTRY *LPALGETERROR)(void) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALboolean (AL_APIENTRY *LPALISEXTENSIONPRESENT)(const ALchar *extname) AL_API_NOEXCEPT17;
|
|
|
|
typedef void* (AL_APIENTRY *LPALGETPROCADDRESS)(const ALchar *fname) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALenum (AL_APIENTRY *LPALGETENUMVALUE)(const ALchar *ename) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALLISTENERF)(ALenum param, ALfloat value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALLISTENER3F)(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALLISTENERFV)(ALenum param, const ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALLISTENERI)(ALenum param, ALint value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALLISTENER3I)(ALenum param, ALint value1, ALint value2, ALint value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALLISTENERIV)(ALenum param, const ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETLISTENERF)(ALenum param, ALfloat *value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETLISTENER3F)(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETLISTENERFV)(ALenum param, ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETLISTENERI)(ALenum param, ALint *value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETLISTENER3I)(ALenum param, ALint *value1, ALint *value2, ALint *value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETLISTENERIV)(ALenum param, ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGENSOURCES)(ALsizei n, ALuint *sources) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALDELETESOURCES)(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALboolean (AL_APIENTRY *LPALISSOURCE)(ALuint source) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEF)(ALuint source, ALenum param, ALfloat value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCE3F)(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEFV)(ALuint source, ALenum param, const ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEI)(ALuint source, ALenum param, ALint value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCE3I)(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEIV)(ALuint source, ALenum param, const ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETSOURCEF)(ALuint source, ALenum param, ALfloat *value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETSOURCE3F)(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETSOURCEFV)(ALuint source, ALenum param, ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETSOURCEI)(ALuint source, ALenum param, ALint *value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETSOURCE3I)(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETSOURCEIV)(ALuint source, ALenum param, ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEPLAYV)(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCESTOPV)(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEREWINDV)(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEPAUSEV)(ALsizei n, const ALuint *sources) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEPLAY)(ALuint source) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCESTOP)(ALuint source) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEREWIND)(ALuint source) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEPAUSE)(ALuint source) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEQUEUEBUFFERS)(ALuint source, ALsizei nb, const ALuint *buffers) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSOURCEUNQUEUEBUFFERS)(ALuint source, ALsizei nb, ALuint *buffers) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGENBUFFERS)(ALsizei n, ALuint *buffers) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALDELETEBUFFERS)(ALsizei n, const ALuint *buffers) AL_API_NOEXCEPT17;
|
|
|
|
typedef ALboolean (AL_APIENTRY *LPALISBUFFER)(ALuint buffer) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFERDATA)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei samplerate) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFERF)(ALuint buffer, ALenum param, ALfloat value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFER3F)(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFERFV)(ALuint buffer, ALenum param, const ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFERI)(ALuint buffer, ALenum param, ALint value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFER3I)(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALBUFFERIV)(ALuint buffer, ALenum param, const ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBUFFERF)(ALuint buffer, ALenum param, ALfloat *value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBUFFER3F)(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBUFFERFV)(ALuint buffer, ALenum param, ALfloat *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBUFFERI)(ALuint buffer, ALenum param, ALint *value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBUFFER3I)(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALGETBUFFERIV)(ALuint buffer, ALenum param, ALint *values) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALDOPPLERFACTOR)(ALfloat value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALDOPPLERVELOCITY)(ALfloat value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALSPEEDOFSOUND)(ALfloat value) AL_API_NOEXCEPT17;
|
|
|
|
typedef void (AL_APIENTRY *LPALDISTANCEMODEL)(ALenum distanceModel) AL_API_NOEXCEPT17;
|
2016-10-23 09:30:37 +00:00
|
|
|
|
2023-02-04 11:38:03 +00:00
|
|
|
#ifdef __cplusplus
|
2016-10-23 09:30:37 +00:00
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
2024-11-17 08:31:45 +00:00
|
|
|
/* NOLINTEND */
|
2016-10-23 09:30:37 +00:00
|
|
|
|
|
|
|
#endif /* AL_AL_H */
|