Initial commit
[camargo/neiasound.git] / src / util / nEfxHelper.h
1 #ifndef NEFXHELPER_H
2 #define NEFXHELPER_H
3
4 #include "AL/al.h"
5 #include "AL/alc.h"
6 #include "AL/alext.h"
7
8 class nEfxHelper
9 {
10
11 public:
12
13     static bool initialize(ALCdevice*);
14     static bool isInitialized(){return sm_initialized;}
15
16     static LPALGENAUXILIARYEFFECTSLOTS alGenAuxiliaryEffectSlots;
17     static LPALISAUXILIARYEFFECTSLOT alIsAuxiliaryEffectSlot;
18     static LPALDELETEAUXILIARYEFFECTSLOTS alDeleteAuxiliaryEffectSlots;
19     static LPALAUXILIARYEFFECTSLOTI alAuxiliaryEffectSloti;
20     static LPALAUXILIARYEFFECTSLOTIV alAuxiliaryEffectSlotiv;
21     static LPALAUXILIARYEFFECTSLOTF alAuxiliaryEffectSlotf;
22     static LPALAUXILIARYEFFECTSLOTFV alAuxiliaryEffectSlotfv;
23     static LPALGETAUXILIARYEFFECTSLOTI alGetAuxiliaryEffectSloti;
24     static LPALGETAUXILIARYEFFECTSLOTIV alGetAuxiliaryEffectSlotiv;
25     static LPALGETAUXILIARYEFFECTSLOTF alGetAuxiliaryEffectSlotf;
26     static LPALGETAUXILIARYEFFECTSLOTFV alGetAuxiliaryEffectSlotfv;
27
28     static LPALGENEFFECTS alGenEffects;
29     static LPALISEFFECT alIsEffect;
30     static LPALDELETEEFFECTS alDeleteEffects;
31     static LPALEFFECTI alEffecti;
32     static LPALEFFECTIV alEffectiv;
33     static LPALEFFECTF alEffectf;
34     static LPALEFFECTFV alEffectfv;
35     static LPALGETEFFECTI alGetEffecti;
36     static LPALGETEFFECTIV alGetEffectiv;
37     static LPALGETEFFECTF alGetEffectf;
38     static LPALGETEFFECTFV alGetEffectfv;
39
40     static LPALGENFILTERS alGenFilters;
41     static LPALISFILTER alIsFilter;
42     static LPALDELETEFILTERS alDeleteFilters;
43     static LPALFILTERI alFilteri;
44     static LPALFILTERIV alFilteriv;
45     static LPALFILTERF alFilterf;
46     static LPALFILTERFV alFilterfv;
47     static LPALGETFILTERI alGetFilteri;
48     static LPALGETFILTERIV alGetFilteriv;
49     static LPALGETFILTERF alGetFilterf;
50     static LPALGETFILTERFV alGetFilterfv;
51
52 private:
53     nEfxHelper();
54     static bool sm_initialized;
55 };
56
57 #endif // NEFXHELPER_H