diff options
author | Chris Robinson <[email protected]> | 2007-12-17 17:55:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-17 17:55:27 -0800 |
commit | 7086f5f84cdb6cb7895847e8b05dfa432b55db7a (patch) | |
tree | a7423931288c041580de3a946b4e62653d77cdf4 | |
parent | 670487b4dde9ebbf708b0b8ee112f3c482c865bb (diff) |
Add new listener property definition
-rw-r--r-- | OpenAL32/Include/alListener.h | 2 | ||||
-rw-r--r-- | OpenAL32/alExtension.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h index 2075e612..587b2151 100644 --- a/OpenAL32/Include/alListener.h +++ b/OpenAL32/Include/alListener.h @@ -7,6 +7,8 @@ extern "C" { #endif +#define AL_METERS_PER_UNIT 0x20004 + typedef struct ALlistener_struct { ALfloat Position[3]; diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c index 1d1c0bf3..e38dcb7b 100644 --- a/OpenAL32/alExtension.c +++ b/OpenAL32/alExtension.c @@ -175,6 +175,7 @@ static ALenums enumeration[]={ { (ALchar *)"AL_STATIC", AL_STATIC }, { (ALchar *)"AL_STREAMING", AL_STREAMING }, { (ALchar *)"AL_UNDETERMINED", AL_UNDETERMINED }, + { (ALchar *)"AL_METERS_PER_UNIT", AL_METERS_PER_UNIT }, // Source EFX Properties { (ALchar *)"AL_DIRECT_FILTER", AL_DIRECT_FILTER }, |