1 #ifndef AUXEFFECTSLOT_H
2 #define AUXEFFECTSLOT_H
10 class AuxiliaryEffectSlotImpl
{
11 ContextImpl
*const mContext
;
14 Vector
<SourceSend
> mSourceSends
;
17 AuxiliaryEffectSlotImpl(ContextImpl
*context
, ALuint id
)
18 : mContext(context
), mId(id
)
21 void addSourceSend(SourceSend source_send
);
22 void removeSourceSend(SourceSend source_send
);
24 ContextImpl
*getContext() { return mContext
; }
25 const ALuint
&getId() const { return mId
; }
27 void setGain(ALfloat gain
);
28 void setSendAuto(bool sendauto
);
30 void applyEffect(Effect effect
);
34 Vector
<SourceSend
> getSourceSends() const { return mSourceSends
; }
36 bool isInUse() const { return (mSourceSends
.size() > 0); }
41 #endif /* AUXEFFECTSLOT_H */