aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alExtension.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r--OpenAL32/alExtension.c83
1 files changed, 82 insertions, 1 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index 82ee3f62..fff46d0a 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -24,6 +24,10 @@
#include "alExtension.h"
#include "alError.h"
#include "alMain.h"
+#include "alFilter.h"
+#include "alEffect.h"
+#include "alAuxEffectSlot.h"
+#include "alSource.h"
#include "AL/al.h"
#include "AL/alc.h"
@@ -101,6 +105,43 @@ static ALfunction function[]= {
{ "alDopplerVelocity", (ALvoid *) alDopplerVelocity },
{ "alSpeedOfSound", (ALvoid *) alSpeedOfSound },
{ "alDistanceModel", (ALvoid *) alDistanceModel },
+
+ { "alGenFilters", (ALvoid *) alGenFilters },
+ { "alDeleteFilters", (ALvoid *) alDeleteFilters },
+ { "alIsFilter", (ALvoid *) alIsFilter },
+ { "alFilteri", (ALvoid *) alFilteri },
+ { "alFilteriv", (ALvoid *) alFilteriv },
+ { "alFilterf", (ALvoid *) alFilterf },
+ { "alFilterfv", (ALvoid *) alFilterfv },
+ { "alGetFilteri", (ALvoid *) alGetFilteri },
+ { "alGetFilteriv", (ALvoid *) alGetFilteriv },
+ { "alGetFilterf", (ALvoid *) alGetFilterf },
+ { "alGetFilterfv", (ALvoid *) alGetFilterfv },
+
+ { "alGenEffects", (ALvoid *) alGenEffects },
+ { "alDeleteEffects", (ALvoid *) alDeleteEffects },
+ { "alIsEffect", (ALvoid *) alIsEffect },
+ { "alEffecti", (ALvoid *) alEffecti },
+ { "alEffectiv", (ALvoid *) alEffectiv },
+ { "alEffectf", (ALvoid *) alEffectf },
+ { "alEffectfv", (ALvoid *) alEffectfv },
+ { "alGetEffecti", (ALvoid *) alGetEffecti },
+ { "alGetEffectiv", (ALvoid *) alGetEffectiv },
+ { "alGetEffectf", (ALvoid *) alGetEffectf },
+ { "alGetEffectfv", (ALvoid *) alGetEffectfv },
+
+ { "alGenAuxiliaryEffectSlots", (ALvoid *) alGenAuxiliaryEffectSlots },
+ { "alDeleteAuxiliaryEffectSlots",(ALvoid *) alDeleteAuxiliaryEffectSlots},
+ { "alIsAuxiliaryEffectSlot", (ALvoid *) alIsAuxiliaryEffectSlot },
+ { "alAuxiliaryEffectSloti", (ALvoid *) alAuxiliaryEffectSloti },
+ { "alAuxiliaryEffectSlotiv", (ALvoid *) alAuxiliaryEffectSlotiv },
+ { "alAuxiliaryEffectSlotf", (ALvoid *) alAuxiliaryEffectSlotf },
+ { "alAuxiliaryEffectSlotfv", (ALvoid *) alAuxiliaryEffectSlotfv },
+ { "alGetAuxiliaryEffectSloti", (ALvoid *) alGetAuxiliaryEffectSloti },
+ { "alGetAuxiliaryEffectSlotiv", (ALvoid *) alGetAuxiliaryEffectSlotiv},
+ { "alGetAuxiliaryEffectSlotf", (ALvoid *) alGetAuxiliaryEffectSlotf },
+ { "alGetAuxiliaryEffectSlotfv", (ALvoid *) alGetAuxiliaryEffectSlotfv},
+
{ NULL, (ALvoid *) NULL } };
static ALenums enumeration[]={
@@ -135,6 +176,18 @@ 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 },
+ { (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 },
@@ -211,8 +264,36 @@ static ALenums enumeration[]={
{ (ALchar *)"AL_EXPONENT_DISTANCE", AL_EXPONENT_DISTANCE },
{ (ALchar *)"AL_EXPONENT_DISTANCE_CLAMPED", AL_EXPONENT_DISTANCE_CLAMPED },
+ // Filter types
+ { (ALchar *)"AL_FILTER_TYPE", AL_FILTER_TYPE },
+ { (ALchar *)"AL_FILTER_NULL", AL_FILTER_NULL },
+ { (ALchar *)"AL_FILTER_LOWPASS", AL_FILTER_LOWPASS },
+ { (ALchar *)"AL_FILTER_HIGHPASS", AL_FILTER_HIGHPASS },
+ { (ALchar *)"AL_FILTER_BANDPASS", AL_FILTER_BANDPASS },
+
+ // Filter params
+ { (ALchar *)"AL_LOWPASS_GAIN", AL_LOWPASS_GAIN },
+ { (ALchar *)"AL_LOWPASS_GAINHF", AL_LOWPASS_GAINHF },
+
+ // Effect types
+ { (ALchar *)"AL_EFFECT_TYPE", AL_EFFECT_TYPE },
+ { (ALchar *)"AL_EFFECT_NULL", AL_EFFECT_NULL },
+ { (ALchar *)"AL_EFFECT_REVERB", AL_EFFECT_REVERB },
+ { (ALchar *)"AL_EFFECT_CHORUS", AL_EFFECT_CHORUS },
+ { (ALchar *)"AL_EFFECT_DISTORTION", AL_EFFECT_DISTORTION },
+ { (ALchar *)"AL_EFFECT_ECHO", AL_EFFECT_ECHO },
+ { (ALchar *)"AL_EFFECT_FLANGER", AL_EFFECT_FLANGER },
+ { (ALchar *)"AL_EFFECT_FREQUENCY_SHIFTER", AL_EFFECT_FREQUENCY_SHIFTER },
+ { (ALchar *)"AL_EFFECT_VOCAL_MORPHER", AL_EFFECT_VOCAL_MORPHER },
+ { (ALchar *)"AL_EFFECT_PITCH_SHIFTER", AL_EFFECT_PITCH_SHIFTER },
+ { (ALchar *)"AL_EFFECT_RING_MODULATOR", AL_EFFECT_RING_MODULATOR },
+ { (ALchar *)"AL_EFFECT_AUTOWAH", AL_EFFECT_AUTOWAH },
+ { (ALchar *)"AL_EFFECT_COMPRESSOR", AL_EFFECT_COMPRESSOR },
+ { (ALchar *)"AL_EFFECT_EQUALIZER", AL_EFFECT_EQUALIZER },
+
// Default
- { (ALchar *)NULL, (ALenum ) 0 } };
+ { (ALchar *)NULL, (ALenum)0 }
+};