1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef NLSOUND_EFFECT_AL_H
18 #define NLSOUND_EFFECT_AL_H
25 * \date 2008-09-25 08:21GMT
26 * \author Jan Boon (Kaetemi)
33 CSoundDriverAL
*_SoundDriver
;
37 ALuint _AlAuxEffectSlot
;
40 CEffectAL(CSoundDriverAL
*soundDriver
, ALuint alEffect
, ALuint alAuxEffectSlot
);
42 virtual void release();
44 inline ALuint
getAlEffect() { return _AlEffect
; }
45 inline ALuint
getAuxEffectSlot() { return _AlAuxEffectSlot
; }
47 }; /* class CEffectAL */
50 * \brief CStandardReverbEffectAL
51 * \date 2008-09-15 23:09GMT
52 * \author Jan Boon (Kaetemi)
53 * CStandardReverbEffectAL
55 class CStandardReverbEffectAL
: public IReverbEffect
, public CEffectAL
58 CStandardReverbEffectAL(CSoundDriverAL
*soundDriver
, ALuint alEffect
, ALuint alAuxEffectSlot
);
59 virtual ~CStandardReverbEffectAL();
61 virtual void setEnvironment(const CEnvironment
&environment
= CEnvironment(), float roomSize
= 100.0f
);
63 }; /* class CReverbEffectAL */
65 #if EFX_CREATIVE_AVAILABLE
68 * \brief CCreativeReverbEffectAL
69 * \date 2008-09-15 23:09GMT
70 * \author Jan Boon (Kaetemi)
71 * CCreativeReverbEffectAL
73 class CCreativeReverbEffectAL
: public IReverbEffect
, public CEffectAL
76 CCreativeReverbEffectAL(CSoundDriverAL
*soundDriver
, ALuint alEffect
, ALuint alAuxEffectSlot
);
77 virtual ~CCreativeReverbEffectAL();
79 virtual void setEnvironment(const CEnvironment
&environment
= CEnvironment(), float roomSize
= 100.0f
);
81 }; /* class CReverbEffectAL */
83 #endif /* #if EFX_CREATIVE_AVAILABLE */
85 } /* namespace NLSOUND */
87 #endif /* #ifndef NLSOUND_EFFECT_AL_H */