diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-11 20:07:12 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-11 20:07:12 +0200 |
commit | 0aa7f13c32ea1991f4663f5eff1c37478fdf736f (patch) | |
tree | a994ac3a72f9b65dfe6648d3086d4415fe2b1234 /src/audio/oal/oal_utils.h | |
parent | little fix for cam (diff) | |
parent | remove aps from premake (diff) | |
download | re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.gz re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.bz2 re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.lz re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.xz re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.zst re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.zip |
Diffstat (limited to 'src/audio/oal/oal_utils.h')
-rw-r--r-- | src/audio/oal/oal_utils.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/audio/oal/oal_utils.h b/src/audio/oal/oal_utils.h new file mode 100644 index 00000000..af45a944 --- /dev/null +++ b/src/audio/oal/oal_utils.h @@ -0,0 +1,48 @@ +#pragma once +#include "common.h" + +#ifdef AUDIO_OAL +#include "eax.h" +#include "AL/efx.h" + + +void EFXInit(); +void EAX3_Set(ALuint effect, const EAXLISTENERPROPERTIES *props); +void EFX_Set(ALuint effect, const EAXLISTENERPROPERTIES *props); +void EAX3_SetReverbMix(ALuint filter, float mix); +void SetEffectsLevel(ALuint uiFilter, float level); + +extern LPALGENEFFECTS alGenEffects; +extern LPALDELETEEFFECTS alDeleteEffects; +extern LPALISEFFECT alIsEffect; +extern LPALEFFECTI alEffecti; +extern LPALEFFECTIV alEffectiv; +extern LPALEFFECTF alEffectf; +extern LPALEFFECTFV alEffectfv; +extern LPALGETEFFECTI alGetEffecti; +extern LPALGETEFFECTIV alGetEffectiv; +extern LPALGETEFFECTF alGetEffectf; +extern LPALGETEFFECTFV alGetEffectfv; +extern LPALGENAUXILIARYEFFECTSLOTS alGenAuxiliaryEffectSlots; +extern LPALDELETEAUXILIARYEFFECTSLOTS alDeleteAuxiliaryEffectSlots; +extern LPALISAUXILIARYEFFECTSLOT alIsAuxiliaryEffectSlot; +extern LPALAUXILIARYEFFECTSLOTI alAuxiliaryEffectSloti; +extern LPALAUXILIARYEFFECTSLOTIV alAuxiliaryEffectSlotiv; +extern LPALAUXILIARYEFFECTSLOTF alAuxiliaryEffectSlotf; +extern LPALAUXILIARYEFFECTSLOTFV alAuxiliaryEffectSlotfv; +extern LPALGETAUXILIARYEFFECTSLOTI alGetAuxiliaryEffectSloti; +extern LPALGETAUXILIARYEFFECTSLOTIV alGetAuxiliaryEffectSlotiv; +extern LPALGETAUXILIARYEFFECTSLOTF alGetAuxiliaryEffectSlotf; +extern LPALGETAUXILIARYEFFECTSLOTFV alGetAuxiliaryEffectSlotfv; +extern LPALGENFILTERS alGenFilters; +extern LPALDELETEFILTERS alDeleteFilters; +extern LPALISFILTER alIsFilter; +extern LPALFILTERI alFilteri; +extern LPALFILTERIV alFilteriv; +extern LPALFILTERF alFilterf; +extern LPALFILTERFV alFilterfv; +extern LPALGETFILTERI alGetFilteri; +extern LPALGETFILTERIV alGetFilteriv; +extern LPALGETFILTERF alGetFilterf; +extern LPALGETFILTERFV alGetFilterfv; +#endif |