diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/AL/al.h | 7 | ||||
-rw-r--r-- | include/AL/alc.h | 16 | ||||
-rw-r--r-- | include/AL/alext.h | 3 | ||||
-rw-r--r-- | include/AL/efx.h | 3 |
4 files changed, 18 insertions, 11 deletions
diff --git a/include/AL/al.h b/include/AL/al.h index aac8ffc1..413b3833 100644 --- a/include/AL/al.h +++ b/include/AL/al.h @@ -269,7 +269,7 @@ typedef void ALvoid; * * The distance in units that no attenuation occurs. * - * At 0.0, no distance attenuation ever occurs. + * At 0.0, no distance attenuation ever occurs on non-linear attenuation models. */ #define AL_REFERENCE_DISTANCE 0x1020 @@ -304,7 +304,7 @@ typedef void ALvoid; * * 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. + * distance models with a default rolloff factor. */ #define AL_MAX_DISTANCE 0x1023 @@ -325,7 +325,8 @@ typedef void ALvoid; * 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. + * A Source is Undetermined when it has the NULL buffer attached using + * AL_BUFFER. */ #define AL_SOURCE_TYPE 0x1027 diff --git a/include/AL/alc.h b/include/AL/alc.h index e7a512ce..294e8b33 100644 --- a/include/AL/alc.h +++ b/include/AL/alc.h @@ -117,6 +117,14 @@ typedef void ALCvoid; #define ALC_OUT_OF_MEMORY 0xA005 +/** Runtime ALC version. */ +#define ALC_MAJOR_VERSION 0x1000 +#define ALC_MINOR_VERSION 0x1001 + +/** Context attribute list properties. */ +#define ALC_ATTRIBUTES_SIZE 0x1002 +#define ALC_ALL_ATTRIBUTES 0x1003 + /** String for the default device specifier. */ #define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004 /** @@ -129,14 +137,6 @@ typedef void ALCvoid; /** String for space-separated list of ALC extensions. */ #define ALC_EXTENSIONS 0x1006 -/** Runtime ALC version. */ -#define ALC_MAJOR_VERSION 0x1000 -#define ALC_MINOR_VERSION 0x1001 - -/** Context attribute list properties. */ -#define ALC_ATTRIBUTES_SIZE 0x1002 -#define ALC_ALL_ATTRIBUTES 0x1003 - /** Capture extension */ #define ALC_EXT_CAPTURE 1 diff --git a/include/AL/alext.h b/include/AL/alext.h index c5708de0..924db168 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -23,6 +23,9 @@ #include <stddef.h> +#include "alc.h" +#include "al.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/include/AL/efx.h b/include/AL/efx.h index 978f64a6..57766983 100644 --- a/include/AL/efx.h +++ b/include/AL/efx.h @@ -2,6 +2,9 @@ #define AL_EFX_H +#include "alc.h" +#include "al.h" + #ifdef __cplusplus extern "C" { #endif |