A non-async stream is dead, don't try refilling it
[alure.git] / src / effect.h
blobb76af8109d21a94c66c95e24e5567e01e28a8bad
1 #ifndef EFFECT_H
2 #define EFFECT_H
4 #include "main.h"
6 namespace alure {
8 class ALContext;
10 class ALEffect : public Effect {
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 { }
18 virtual ~ALEffect() { }
20 virtual void setReverbProperties(const EFXEAXREVERBPROPERTIES &props) final;
22 virtual void destroy() final;
24 ALContext *getContext() const { return mContext; }
25 ALuint getId() const { return mId; }
28 } // namespace alure
30 #endif /* EFFECT_H */