00001 /* 00002 * OpenAL extensions header 00003 * 00004 * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) 00005 * See "SoftPixelEngine.hpp" for license information. 00006 */ 00007 00008 #ifndef __SP_AUDIO_OPENAL_EXTENSIONS_H__ 00009 #define __SP_AUDIO_OPENAL_EXTENSIONS_H__ 00010 00011 00012 #include "Base/spStandard.hpp" 00013 00014 #ifdef SP_COMPILE_WITH_OPENAL 00015 00016 00017 #include <AL/al.h> 00018 #include <AL/alc.h> 00019 #include <AL/efx.h> 00020 #include <AL/efx-creative.h> 00021 00022 00023 namespace sp 00024 { 00025 00026 00027 /* Effect objects */ 00028 00029 extern LPALGENEFFECTS alGenEffects; 00030 extern LPALDELETEEFFECTS alDeleteEffects; 00031 extern LPALISEFFECT alIsEffect; 00032 extern LPALEFFECTI alEffecti; 00033 extern LPALEFFECTIV alEffectiv; 00034 extern LPALEFFECTF alEffectf; 00035 extern LPALEFFECTFV alEffectfv; 00036 extern LPALGETEFFECTI alGetEffecti; 00037 extern LPALGETEFFECTIV alGetEffectiv; 00038 extern LPALGETEFFECTF alGetEffectf; 00039 extern LPALGETEFFECTFV alGetEffectfv; 00040 00041 /* Filter objects */ 00042 00043 extern LPALGENFILTERS alGenFilters; 00044 extern LPALDELETEFILTERS alDeleteFilters; 00045 extern LPALISFILTER alIsFilter; 00046 extern LPALFILTERI alFilteri; 00047 extern LPALFILTERIV alFilteriv; 00048 extern LPALFILTERF alFilterf; 00049 extern LPALFILTERFV alFilterfv; 00050 extern LPALGETFILTERI alGetFilteri; 00051 extern LPALGETFILTERIV alGetFilteriv; 00052 extern LPALGETFILTERF alGetFilterf; 00053 extern LPALGETFILTERFV alGetFilterfv; 00054 00055 /* Auxiliary slot objects */ 00056 00057 extern LPALGENAUXILIARYEFFECTSLOTS alGenAuxiliaryEffectSlots; 00058 extern LPALDELETEAUXILIARYEFFECTSLOTS alDeleteAuxiliaryEffectSlots; 00059 extern LPALISAUXILIARYEFFECTSLOT alIsAuxiliaryEffectSlot; 00060 extern LPALAUXILIARYEFFECTSLOTI alAuxiliaryEffectSloti; 00061 extern LPALAUXILIARYEFFECTSLOTIV alAuxiliaryEffectSlotiv; 00062 extern LPALAUXILIARYEFFECTSLOTF alAuxiliaryEffectSlotf; 00063 extern LPALAUXILIARYEFFECTSLOTFV alAuxiliaryEffectSlotfv; 00064 extern LPALGETAUXILIARYEFFECTSLOTI alGetAuxiliaryEffectSloti; 00065 extern LPALGETAUXILIARYEFFECTSLOTIV alGetAuxiliaryEffectSlotiv; 00066 extern LPALGETAUXILIARYEFFECTSLOTF alGetAuxiliaryEffectSlotf; 00067 extern LPALGETAUXILIARYEFFECTSLOTFV alGetAuxiliaryEffectSlotfv; 00068 00069 00070 } // /namespace sp 00071 00072 00073 #endif 00074 00075 #endif 00076 00077 00078 00079 // ================================================================================