diff options
author | Chris Robinson <[email protected]> | 2007-12-17 16:02:34 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-17 16:02:34 -0800 |
commit | ac9bef0b316f02e2f607ac2c7117c7813f2bf87f (patch) | |
tree | c485bb438c4a40ac0e73c020954ea0d29f43a5f9 | |
parent | f6bb6cc8919a11a62b479bc34673a4f69566b160 (diff) |
Add EFX source filter properties
-rw-r--r-- | OpenAL32/Include/alSource.h | 9 | ||||
-rw-r--r-- | OpenAL32/alExtension.c | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 499ddcf4..54262779 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -5,6 +5,15 @@ #include "AL/al.h" +#define AL_DIRECT_FILTER 0x20005 +#define AL_AUXILIARY_SEND_FILTER 0x20006 +#define AL_AIR_ABSORPTION_FACTOR 0x20007 +#define AL_ROOM_ROLLOFF_FACTOR 0x20008 +#define AL_CONE_OUTER_GAINHF 0x20009 +#define AL_DIRECT_FILTER_GAINHF_AUTO 0x2000A +#define AL_AUXILIARY_SEND_FILTER_GAIN_AUTO 0x2000B +#define AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO 0x2000C + #ifdef __cplusplus extern "C" { #endif diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c index f8fc768b..fd20f37d 100644 --- a/OpenAL32/alExtension.c +++ b/OpenAL32/alExtension.c @@ -150,6 +150,17 @@ static ALenums enumeration[]={ { (ALchar *)"AL_STREAMING", AL_STREAMING }, { (ALchar *)"AL_UNDETERMINED", AL_UNDETERMINED }, + // Source EFX Properties + { (ALchar *)"AL_DIRECT_FILTER", AL_DIRECT_FILTER }, + { (ALchar *)"AL_AUXILIARY_SEND_FILTER", AL_AUXILIARY_SEND_FILTER }, + { (ALchar *)"AL_AIR_ABSORPTION_FACTOR", AL_AIR_ABSORPTION_FACTOR }, + { (ALchar *)"AL_ROOM_ROLLOFF_FACTOR", AL_ROOM_ROLLOFF_FACTOR }, + { (ALchar *)"AL_CONE_OUTER_GAINHF", AL_CONE_OUTER_GAINHF }, + { (ALchar *)"AL_DIRECT_FILTER_GAINHF_AUTO", AL_DIRECT_FILTER_GAINHF_AUTO }, + { (ALchar *)"AL_AUXILIARY_SEND_FILTER_GAIN_AUTO", AL_AUXILIARY_SEND_FILTER_GAIN_AUTO }, + { (ALchar *)"AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO", AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO}, + + // Source State information { (ALchar *)"AL_SOURCE_STATE", AL_SOURCE_STATE }, { (ALchar *)"AL_INITIAL", AL_INITIAL }, |