1 #ifndef AUXEFFECTSLOT_H
2 #define AUXEFFECTSLOT_H
10 class AuxiliaryEffectSlotImpl
{
11 ContextImpl
&mContext
;
14 Vector
<SourceSend
> mSourceSends
;
17 AuxiliaryEffectSlotImpl(ContextImpl
&context
);
18 ~AuxiliaryEffectSlotImpl();
20 void addSourceSend(SourceSend source_send
);
21 void removeSourceSend(SourceSend source_send
);
23 ContextImpl
&getContext() { return mContext
; }
24 const ALuint
&getId() const { return mId
; }
26 void setGain(ALfloat gain
);
27 void setSendAuto(bool sendauto
);
29 void applyEffect(Effect effect
);
33 Vector
<SourceSend
> getSourceSends() const { return mSourceSends
; }
35 size_t getUseCount() const { return mSourceSends
.size(); }
40 #endif /* AUXEFFECTSLOT_H */