Improve handling the async wake interval
[alure.git] / src / effect.h
blob2e6c41e77d05dda10e5f45dce9b34523818bbe9d
1 #ifndef EFFECT_H
2 #define EFFECT_H
4 #include "main.h"
6 namespace alure {
8 class ALContext;
10 class ALEffect {
11 ALContext *const mContext;
12 ALuint mId;
13 ALenum mType;
15 public:
16 ALEffect(ALContext *context, ALuint id) : mContext(context), mId(id), mType(AL_NONE)
17 { }
19 void setReverbProperties(const EFXEAXREVERBPROPERTIES &props);
21 void destroy();
23 ALContext *getContext() const { return mContext; }
24 ALuint getId() const { return mId; }
27 } // namespace alure
29 #endif /* EFFECT_H */